0
In C operators lesson I have observed the output is wrong.Check whether you are facing the same kind of issue???
#include <stdio.h> int main() { float average; int total = 23; int count = 4; average = (float) total / count; printf("%4.2f", average); return 0; } The output is 5.75 but sololearn output is 8.50. Check the issue and confirm it??? Thank you in advance.
2 Answers
+ 2
KURUKUTI LEHA PRIYA ,
on which platform does this issue happen? (androis, ios, web windows)
0
it's 5.75. no issue.