Question: C++ please 4.12 LAB: Prompting user for data (1) Promot the user to input an integer, a double, a character, and a stning, storing each

C++ pleaseC++ please 4.12 LAB: Prompting user for data (1) Promot the userto input an integer, a double, a character, and a stning, storing

4.12 LAB: Prompting user for data (1) Promot the user to input an integer, a double, a character, and a stning, storing each into separate variables. Then, output those four values on a single line separated by a space. (2 pts) Note. This zyLab curputs a newhine after each user-inout promot. For convenience in the examples below, the user's input vaiue is shown on the next line, bui such values dorit actually appoor as outout whon the program funs Bnter integer; 99 Enter double: 3.77 Enter character: z Enter etring: Howdy 993.77 z Howdy (2) Exterid to also output in reoerse (1 pt) Enter intoger: 99 Enter double: 3. 77 Bnler characta2; z Baler ubring: Howdy 993,77 \& Howdy Howdy =3.7795 (3) Extend to cast the double to an integer, and cutput that integer. (2 pts) Enter integer: 99 Enter double: 3. 77 Baler uaraclaz; z Braber utring: Howdy 993,77 z Howdy Howody =3.7755 (3) Extend to cast the double to an integer, and cutput that integer. (2 pts) Enter integer: 99 Bnter double: 3.77 Briter character: z Bnter etring: Howdy 993,77 \& Howdy Howdy = 3.77 3.77 east to an integen 183

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!