Question: Question 3 Design a program, using Pseudocode, that requires the user to enter their name as well as the current date. The program should display
Question
Design a program, using Pseudocode, that requires the user to enter their name as well as the current date. The program should display these details back to the user.
Next, call a function that prompts the user to enter five unique, nonzero, positive numbers. Each number must be validated by another function before the user can enter the next number. The validation function should perform the following operations:
Receive the number.
Check if it is a positive, nonzero number.
Prompts the user to reenter the number if it is invalid.
Return the valid number to the calling function.
Once all five numbers are entered successfully, the first function should sort them and choose the secondhighest number. This number should be returned to the main program, which will double it and DISPLAY the resulting value.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
