0
How is a float declared???
How is a float declared
3 Respostas
+ 1
float p;
p=6.0f;
the f denotes float value. if you don't give it then the value will be double.
0
float pi = 3.14;
Remember that it is with dot(.) not comma(,).
0
Thank you
How is a float declared