C Quick Refresher

if based structure
What is the output of the following program?
int main()
{
int a, b;
float c;
double d;
a = 10;
b = 20;
c = a * b + 0.5;
d = a * b * c;
if(d>100)
printf("%.2f", d);
else
printf("%.2f", c);
}

No Comments..!

Change Subject: