Question: C++ Problem. Please do the Problem F2 Thank you Problem F1 Write a do while loop to require the user to enter two integers; the

C++ Problem. Please do the Problem F2

Thank youC++ Problem. Please do the Problem F2 Thank you Problem F1 Write

Problem F1 Write a do while loop to require the user to enter two integers; the second integer must be equal to, or larger than, the first integer. Both integers must be at least 1 and not larger than 20. If they do not enter correct integers, give them error messages and make them do it again until they are correct. After the acceptable integers have been entered, use a for loop to print a table of integers and their square roots for all integers from the first integer specified by the user to the last integer specified by the user, inclusive. Align the table and print 4 decimal positions A sample table follows, for integers 7 to 9: INTEGER 7 8 9 SQUARE ROOT 2.6458 2.8284 3.0000 Test the program twice: First test, first enter: first integer = 2, second integer = 0 and after that is rejected: first integer = 2, second integer = 4 Second test, first enter: first integer = 21, second integer = 5 and after that is rejected: first integer = 5, second integer = 5 Problem F2 = Chapter 5 Programming Challenge 6 Make the speed and the time both integers. Test data, run the program twice: First test, speed -2 and time -1; when that is rejected, speed - 1 and time 0; when that is rejected, speed 0 and time 1. Second test speed 20, time 5 Problem F1 Write a do while loop to require the user to enter two integers; the second integer must be equal to, or larger than, the first integer. Both integers must be at least 1 and not larger than 20. If they do not enter correct integers, give them error messages and make them do it again until they are correct. After the acceptable integers have been entered, use a for loop to print a table of integers and their square roots for all integers from the first integer specified by the user to the last integer specified by the user, inclusive. Align the table and print 4 decimal positions A sample table follows, for integers 7 to 9: INTEGER 7 8 9 SQUARE ROOT 2.6458 2.8284 3.0000 Test the program twice: First test, first enter: first integer = 2, second integer = 0 and after that is rejected: first integer = 2, second integer = 4 Second test, first enter: first integer = 21, second integer = 5 and after that is rejected: first integer = 5, second integer = 5 Problem F2 = Chapter 5 Programming Challenge 6 Make the speed and the time both integers. Test data, run the program twice: First test, speed -2 and time -1; when that is rejected, speed - 1 and time 0; when that is rejected, speed 0 and time 1. Second test speed 20, time 5

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!