966 views
3 votes
3 votes
int main()

{
float a =5.2;

if(a==5.2)

pf("equal");

else if(a<5.2)

pf("less than");

else

pf("greater than");

}

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
sh!va asked Sep 30, 2017
346 views
In C++, size of float and double data types are 4 bytes and 8 bytes respectively. Calculate range ( minimum and maximum values) of float and double:
0 votes
0 votes
2 answers
4