Question: int Int1, Int2, Int 3 bool Bool1, Bool2; double Dbl1, Prod, Result; cout Enter an integer into Int1: ; cin lnt1; cout Int1 is

int Int1, Int2, Int 3 bool Bool1, Bool2; double Dbl1, Prod, Result; cout "Enter an integer into Int1: "; cin lnt1; cout "Int1 is " lnt1 "ln"; cout "Enter two integers into Int2 and then Int3: "; aaa II Display the values of Int1 and Int2 as shown in the example bbb cout "Enter floating point number into Dbl1: "; ccC II Display the values of Dbl1 as shown in the example ddd II Multiply together Int2, Int 3 and Db1l and assign to Prod eee II Display the values of Prod as shown in the example fff II Take the square root of Prod and assign to Result II Display the values of Result as shown in the example hhh cout "Enter two booleans ( 0 or 1 ) into Bool1 and then Bool2: "; IIj Display the values of Bool1 and Bool2 as shown in the example kkk - Click on Run. The program should compile successfully. - Take a screenshot that shows the Result pane showing the output WARNING: IF YOU USE THE SAME VALUES AS BELOW YOU GET A ZERO WARNING: EXCEPT FOR THE NUMBERS AND YOUR NAME, IF THE OUTPUT IS: NOT EXACTLY THE SAME AS BELOW YOU GET A ZERO Although your keyboard input will be different, the execution pane should show My name is John Doe The date is 10-27-2022 16:29 Enter an integer into Int1: 2 Int1 is 2 Enter two integers into Int 2 and then Int 3:38 Int 2 and Int 3 are 38 Enter floating point number into Obl1: 3.233 Dbl1 is 3.233 Prod is 77.592 Result is 8.80863 Enter two booleans ( or 1) into Bool1 and then Bool2: 01 Bool1 and Bool2 are 1 NOTE: - The value of Int1 is 3 because cin read until it saw a space - The value of Int2 is 8 because cin read until it saw the end-of-line; i.e. when your pressed Enter - The value of Dbl is 3.233 because cin read until it saw the end-of-line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
