Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In C++ using Code Blocks Important: To complete this assignment you are only allowed to use what is discussed in Chapters 1-4 and Chapter 6
In C++ using Code Blocks
Important: To complete this assignment you are only allowed to use what is discussed in Chapters 1-4 and Chapter 6 of the text and lectures Exercise 1 (50 points): Write a program that displays a birthday list containing the names and birthdates of three friends or the computer screen in a neatly aligned table. Allow for the possibility that names may be up to 40 characters long and may include spaces. The user will be asked to enter the dates in the following format: In your birthday list you will display the date in European format (Example: 4 April 1999). Use a switch statement to convert from a numeric month to a month name. For this assignment you are not required to validate the dates entered. Make your output look as much like the sample output provided below as possible. Sample Output: Enter name #1: Katie Davis Enter their birthday in MM-DD-YYYY form: 04-05-1996 Enter name #2: Madison Michelle Westermann Enter their birthday in MM-DD-YYYY form: 09-13-1990 Enter name #3: Miquel Sanchez Enter their birthday in MM-DD-YYYY form: 01-27-1998 Name Katie Davis Madison Michelle Westermann Miquel Sanchez Birthdate 5 April 1996 13 September 1990 27 January 1998Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started