I am trying to solve:
int total=0, number=0; float percentage=0.0; percentage=(number/total)*100; printf(\"%.2f\", percentage);
If the val
This can give you the correct Answer
#include int main() { float total=100, number=50; float percentage; percentage=(number/total)*100; printf("%0.2f",percentage); return 0; }