Answers for "how to calculate float with int in c"

1

int to float c

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

what is float in c

A float is a number with a decimal point.
Posted by: Guest on February-19-2021

Browse Popular Code Answers by Language