129k views
0 votes
Write an algorithm that displays the next double message: Enter a month (1 for January, 2 for February,….…) Enter a day of the month

User Arunprabhu
by
8.4k points

1 Answer

3 votes

This algorithm prompts the user to enter both the month and day using double messages, and then stores these inputs in separate variables for further processing if needed. Here is the algorithm


Step:1. Start the program.
Step:2. Display the first message: "Enter a month (1 for January, 2 for February, ...)".
Step:3. Accept the user input for the month and store it in a variable called 'month'.
Step:4. Display the second message: "Enter a day of the month".
Step:5. Accept the user input for the day and store it in a variable called 'day'.
Step:6. End the program.

Learn more about algorithm prompts here,

User Xamox
by
8.0k points

No related questions found