Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ please!! Complete the following program so that it asks the user (in this order) for his/her first name, middle initial, last name, age, and
C++ please!!
Complete the following program so that it asks the user (in this order) for his/her first name, middle initial, last name, age, and employer. Employer may be "unemployed". Print out the user's information EXACTLY as follows LastName, FirstName MiddleInitial (Age) \{Employer For example, you might print Carmichael, Alice T (32) \{A Plus Tech Company main.cpp \( \begin{aligned} 1 & \text { \#include } \\ 2 & \text { \#include } \\ 3 & \text { \#include } \\ 5 & \\ 6 & \text { using namespace std; } \\ 7 & \text { int main }()\{ \\ 8 & \\ 9 & \\ 10 & \\ 11 & \\ 12 & / / \text { Put code here } \\ 13 & \text { // You can click to scroll if the code above ^ isn't showing } \\ 14 & \text { return } \theta ; \\ 15 & \}\end{aligned} \) Test 1 Input: Alice T Carmichael 32 A Plus Tech Company Actual Expected Enter first name: Enter middle initial: Enter last name: Enter age: Who is your employer (or enter unemployed): Carmichael, Alice T(32) \{A Plus Tech Company\} fail Test 2 Input: Enter first name: Enter middle initial: Enter last name: Enter age: Who is your employer (or enter unemployed): Calvert, Yuriki V(5) \{Comedy Clu
Step 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