Question: Program I CMPS 1044 Spring 2021 Instructor: Benjamin Shelton Create a program of cout statements asking these questions and then leaving a field for the
Program I CMPS 1044 Spring 2021 Instructor: Benjamin Shelton Create a program of cout statements asking these questions and then leaving a field for the user to input their answer in other words use cin to record what the user inputs). What is your name? What is your middle initial? What is your birthday month? (as a number) What day is your birthday? (as a number) What is your blood type? Make sure you make use of the string, int, and char variable types at least once when recording input. After the user inputs their information then simply print what they put in to the screen in this format. Name: *print name here Middle Initial print MI here* Birthday: *print birthday here in Month Day format (don worry about putting a b in front of single digits) Blood Type: *Blood type here* SAMPLE OUTPUT Name: John Doc Middle Initial: H Birthday: 5/25 Blood Type: AB Name: Paul Morphy Middle Initial: C Birthday: 7/10 Blood Type: 0 Name: Spongebob Squarepants Middle Initial: B Birthday: 4/1 Blood Type: C (not a real blood type but assume input will be valid. I just like puns. Do sea sponges even have blood? Google says no.) Requirements for submission Output should be to the console. Assume the user input will be correct with no crrors Header and at least 3.comments. MAKE SURE YOU SUBMIT THE CPP FILE AND NOT THE SLN WHEN SUBMITTING TO DROPBOX
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
