Pseudocode?

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter8: Advanced Data Handling Concepts
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

What is the Pseudocode?

November 23rd, 2020 can be written in different formats:
International format: 23-11-2020
United States format: 11-23-202o
• Design a program that asks the user to enter a day (in numeric form), a month,
and a four-digit year.
• Ask the user to enter the number 1 for International format, or 2 for US
format.
The program then should print the date in the desired format.
• Design the program using PSEUDOCODE, follow the rules of pseudocode and
use the keywords we learned in the class. Do not write an essay-like solution.
• Below are 4 sample runs.
• Your output should match exactly the sample runs.
• After designing the program, write the Python code.
Sample run 1:
Enter the day: 21
Enter the month: 10
Enter the year: 2012
Enter 1 for International format, or 2 for US format: 1
The date is: 21-10-2012
Transcribed Image Text:November 23rd, 2020 can be written in different formats: International format: 23-11-2020 United States format: 11-23-202o • Design a program that asks the user to enter a day (in numeric form), a month, and a four-digit year. • Ask the user to enter the number 1 for International format, or 2 for US format. The program then should print the date in the desired format. • Design the program using PSEUDOCODE, follow the rules of pseudocode and use the keywords we learned in the class. Do not write an essay-like solution. • Below are 4 sample runs. • Your output should match exactly the sample runs. • After designing the program, write the Python code. Sample run 1: Enter the day: 21 Enter the month: 10 Enter the year: 2012 Enter 1 for International format, or 2 for US format: 1 The date is: 21-10-2012
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Introduction to computer system
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage