Question: Problem #2 Build a program that uses a single-dimension array to store 10 numbers input by a user. After inputting the numbers, the user should
Problem #2 Build a program that uses a single-dimension array to store 10 numbers input by a user. After inputting the numbers, the user should see a menu with two options to sort and print the 10 numbers in ascending or descending order. Create a student GPA average calculator. The program should prompt the user to enter up to 30 GPAs, which are stored in a single-dimension array. Each time the user enters a GPA, he should have the option to calculate the current GPA average or enter another GPA Sample data for this program is shown here: GPA: 3.5 GPA: 2.8 GPA: 3.0 GPA: 2.5 GPA: 4.0 GPA: 3.7 GPA Average: 3.25 Create a program that allows a user to enter up to five names of friends. Use a two- dimensional array to store the friends' names. After each name is entered, the user should have the option to enter another name or print out a report that shows each name entered thus far. Modify the Tic-Tac-Toe game to use a two-dimensional array instead of a single-dimension array. Modify the Tic-Tac-Toe program or build your own Tic-Tac-Toe game to be a single-played game. (The user will play against the computer.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
