Answered step by step
Verified Expert Solution
Link Copied!

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());
image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago