Friday, October 1, 2010

A 'C' program to evaluate a simple arithmetic expression

int main()
{
float a=5,b=7,c;
c=a+(b*2)/3*a*5+3/2;
printf("%f",c);
getch();
return 0;
}

No comments:

Post a Comment

Google+ Followers