Use this::
/while((myIntVar = fgetc(myInputFileVar)) !=´'\n'){
Do_something_with_the_ content_ of_ my_file = exit_SUCCESS;
}
Type: Posts; User: dadaC
Use this::
/while((myIntVar = fgetc(myInputFileVar)) !=´'\n'){
Do_something_with_the_ content_ of_ my_file = exit_SUCCESS;
}
Your mean variable should first be initialized to double standard 0.00, and
mean = (num1 + num2 + num3) / 3.0; should give you the ideal result with a printf("%lf", mean) or %.2lf for precise 2...