Answers for "float * int in c"

C
3

what is float in c

float: It is used to store decimal numbers (numbers with floating point value) with single precision. double: It is used to store decimal numbers (numbers with floating point value) with double precision.
Posted by: Guest on March-03-2021
0

int to float c

float percentage;
percentage = (float)number/total * 100;
Posted by: Guest on November-25-2020

Code answers related to "C"

Browse Popular Code Answers by Language