Question: Submit the source code lyour filename.c file) electronically and on paper as a hard copy. Include copy of the results as comment lines in the



Submit the source code lyour filename.c file) electronically and on paper as a hard copy. Include copy of the results as comment lines in the completed program All source code must be in a filename.c format. No other formats will be accepted. Phase I-General Preprocessing items: Use mnemonic variables of 3 characters or more. U d main (void) or void main ()in your program and leave off the return 0. Use double as the choice for all floating point values. Add heading items using as printf statement. Watch for instructions that specify a symbolic constant and assign that symbolic constant in all capital letters and using the #define. Thank you. The "xxxx" or the (highlighted item) in a sample output will show locations that the computer program will transfer values. The C program asks about the Math Assistance Center CMAC). Students that attended the MAC less than 3 hours a week receive a regular response. Students that attend the MAC from 3 to 14 hours a week receive a good response. Students that attend the MAC more than l4 hours a week get another response. See sample output for responses that you should use in the program. Output of hours should show 1 decimal place. Output of average should show 2 decimal places. It is mandatory to use a "for" loop in your program to check all the Sample outputs during only one execution of the program. The program asks about the C programming Test Scores: see chart for the conditions and the feedback to use (Use the following filename system: student's last name MAC firstinitial.c) 90-100 80-89.9 70-79.9 60-69.9 grade grade -D Must use the switch Must use the switch Must use the switch Must use the switch Must use the switch statement to give statement to give statement to give statement to give statement to give feedback based on feedback based on feedback based on feedback based on fee dback based on the letter grade A the letter grade B the letter grade C the letter grade D the letter grade F Feedback: State help Feedback: State help Feel dback: State help Feedback State help Feedback: State help sessions times & sessions times & sessions times & sessions times & sessions times & You are in the top You are doing well You are in the Talk to your Provide an 20% of the class. in the class average of the class. advisor. appropriate message in the program. See the next page
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
