Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the program using c# do while loop and .parse(console.readline()); INSTRUCTIONS Complete the requirements of this assignment on your own. When you have finished, write
Write the program using c# do while loop and .parse(console.readline());
INSTRUCTIONS Complete the requirements of this assignment on your own. When you have finished, write your name on the board to get your instructor to mark your assignment. You are encouraged to create a flowchart; without a flowchart your instructor may not provide any assistance. Step 1: Create a program named CPSC1012-Ex07-YourName Step 2: In the Main() method, write the code that will do the following In a do loop, ask the user to enter a grade for a student or 999 to quit o In a while loop, the program will Determine if the entered mark is the highest or lowest grade Validate the entered grade before entering another grade; display some error message if the grade is invalid (i.e. 100) Prompt the user to enter another grade or 999 to quit - . o If there are valid marks Calculate the average grade for the class Display the average, highest, and lowest grades . Else, display some error message Prompt the user to redo the steps above or quit. o o Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started