Instructions
Write a program that prompts the user to input three numbers.
The program should then output the numbers in ascending order, separated by a single space.
When the check run it looks for the following:
0.00
out of
10.00
Co
ect output for all test cases
4
0 out of 4 checks passed. Review the results below for more details.
Checks
Test CaseIncomplete
All positive in order case 1
Input
2
99
134
Output
Results
XXXXXXXXXX
Show Details
Test CaseIncomplete
All positive not in order case 1
Input
839
732
803
Output
Results
XXXXXXXXXX
Show Details
Test CaseIncomplete
All negative not in order case 1
Input
-489
-503
-89
Output
Results
XXXXXXXXXX
Show Details
Test CaseIncomplete
Positive, negative and zero case 1
Input
8943
-3435
0
Output
Results
XXXXXXXXXX
From the book:
Eight Edition
C++ PROGRAMMING
Program Design Including Data Structures
C++ PROGRAMMING
Instructions
Write a program that prompts the user to input three numbers.
The program should then output the numbers in ascending order, separated by a single space.
When the check run it looks for the following:
0.00
out of
10.00
Co
ect output for all test cases
4
0 out of 4 checks passed. Review the results below for more details.
Checks
Test CaseIncomplete
All positive in order case 1
Input
2
99
134
Output
Results
XXXXXXXXXX
Show Details
Test CaseIncomplete
All positive not in order case 1
Input
839
732
803
Output
Results
XXXXXXXXXX
Show Details
Test CaseIncomplete
All negative not in order case 1
Input
-489
-503
-89
Output
Results
XXXXXXXXXX
Show Details
Test CaseIncomplete
Positive, negative and zero case 1
Input
8943
-3435
0
Output
Results
XXXXXXXXXX
From the book:
Eight Edition
C++ PROGRAMMING
Program Design Including Data Structures
C++ PROGRAMMING