Question: Lab 2 : Student Record System - Multiple Selection & Scores Sorting Instructions Part 1 : Design Algorithm and Write Program Design algorithm in flowchart

Lab 2: Student Record System - Multiple Selection & Scores Sorting
Instructions
Part1: Design Algorithm and Write Program
Design algorithm in flowchart and create a new C project with corresponding program to do the following tasks.
(1) When the program is executed, it displays the prompt messages as below. It requires 4 scores from the user.
Hint: A score should be an integer between 0100. This task focuses on iteration structure.
(2) After the user entered 4 valid scores, your program displays a menu with 3 choices as shown below.
Menu:
Sort scores in ascending order
Sort scores in descending order
Display scores in the original order
Please enter your choice:
Hint: This task focuses on selection structures.
(3) When the user enters "1" as his/her choice, the program displays the scores in ascending order; when the user enters "2" as his/her choice, the program displays the scores in descending order; when the user enters "3" as his/her choice, the program displays the scores in the original order (the order user entered the scores).
(4) If any score entered by the user is not within the valid range (0100), "Invalid score!" will be displayed on the screen and the program will continue working, asking the user to enter another score.
1
Lab 2 : Student Record System - Multiple

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!