Thanks guys! It worked
You said your compiler didn't like "%.2f"
what are your setting on your compiler... cause mine didn't catch it. And do you know of a way I can set mine better?
Thanks again,
Yarbz2
I'm very new at this and am stuck on a loop problem.
I'm trying to make an averageing loop but the loop won't ask for the next input. This is what I have:
#include <stdio.h>
void main (void)
{
float sum = 0, score, average;
int number;
printf("Number of Floats to average? ")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.