How do I make my code run properly? I’m stuck. This is CMIS 103 HW3.
How do I make my code run properly? I’m stuck. This is CMIS 103 HW3.
// C code
// This program will calculate the average miles walked in a week.
// Developer: Monique Blanchard
// Date: Feb 23, 2019
#include<stdio.h>
int main(void) {
int loopcount;
int miles;
int total;
int sum;
total=5*7;
loopcount =0;
while (loopcount < 7);
// begin loop {
printf(“how many miles did you run today “);
scanf(“%f”, miles);
loopcount = loopcount +1;
sum = sum + miles;
} // end loop