#include<iostream>
#inlcude<iomanip>
using namespcae std;
int main()
{
float a=3.14;
cout<<fixed<<setprecision(4)<<a;
}
if i execute the above code i am getting the error: fixed undeclared...
need some help.. pls!!
fixed is undeclared, obviously, this means that the variable "fixed" does not exist in your code, yet you try to use it. If you want to know how to solve this issue read this http://cplusplus.com/doc/tutorial/