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++ 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 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
Get step-by-step solutions from verified subject matter experts
