1) Add two numbers
2) Add between two to five numbers
3) Quit
When the user selects the first option
a) Generate two random numbers between (1 to 10 inclusive)
b) Prompt the user for the result of the addition.
c) Store the generated random numbers and the user’s result in an array.
When the user selects option 2
a) Ask the user, How many numbers do you want to add(2-5 inclusive)?
(Store this information in an array. You are storing the effective size for each selection)
b) Generate as many random numbers (between 1 to 10 inclusive) as the user has asked for. Then prompt the user for the result of the addition?
c) Store the generated random numbers along with the user’s result in an array.
When the user selects option 3
a) Display the generated random numbers, the user’s result along with the correct result from the first option sorted according to the correct results in ascending order using bubble sort . Display the correct percentage of the total right answers.
b) Display everything from the second option along with the correct results sorted according
to the correct results in descending order using selection sort. Display the correct percentage of the total right answers.