Question: NEED HELP IN C++ PLEASE MAKE THE OUTPUT LOOK EXACTLY THE SAME LIKE THIS OUTPUT! Lab Write a complete program that: 1. Prompts the user

Lab Write a complete program that: 1. Prompts the user to enter a floating point number then reads a floating point number from the keyboard as a double. 2. Prompts the user to enter a second floating point number then reads a second floating point number from the keyboard as a double 3. Uses an if' statement to compare the numbers from (1) and (2) and write out to the display which is bigger. 4. Prompts the user to enter a string then reads a string from the keyboard, 5. Prompts the user to enter a second string then reads a second string from the keyboard 6. Uses an if statement to compare the strings from (4) and (5) and write out to the display which is bigger See the example output for prompts and formatting Enter a floating point number **7.23 Enter another floating point number **7.22999 You entered 7.23 and 7.22999 The largest is 7.23 Enter a string **abc Enter a second string **abed You entered "abc" and "abcd" The largest is "abcd
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
