write my assignment 14802

How do I make my code run properly? I’m stuck. This is CMIS 103 HW3.

main() {

loopcount;

miles;

total;

sum;

total=*;

loopcount =;

(loopcount < );

printf();

scanf(, miles);

loopcount = loopcount +;

sum = sum + miles;

}

Homework 3 – Create your own Loop applicationCreate your own While – End or ( For End ) repetition using C code . One of the following themes*should be used :&quot;Summing the total miles run or walked in a typical weekSumming the cost for groceries spent during a monthSumming the cost of hotel rooms used during vacation in a yearSumming the total number of automobile accidents in the DC area in one weekBe sure to provide an overview of what your repetition structure is doing . Please keep the designsimple for this exercise . Just a few lines of code is all that is needed for this response .Provide the C code and a screen capture showing the results of testing your code in an online*compiler . Be sure to test your code with several test cases and show your test case table . Include*header documentation in the code as well as internal code documentation .Submit your word or PDF file , along with your fully tested C code to your assignments folder nolater than the due date .Grading guidelinesSubmissionPointsCcode for simple While or For loop was provided and compiles and runs40

 
"Not answered?"
Get the Answer