output the 10 number inascending order.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 12SA
icon
Related questions
Question

Description

 

給你十個數字,請從小到大輸出這十個數字。

Giving 10 number, output them in ascending order.

 

Input

 

輸入會包含十個整數,數字間會用一個空白隔開。

Input consist 10 integer, each of them separate by a single space.

 

Output

 

從小到大輸出十個數

output the 10 number inascending order.

 

Sample Input 1 

9 8 7 6 5 4 3 2 1 0

Sample Output 1

0 1 2 3 4 5 6 7 8 9
Description
給你十個數字,請從小到大輸出這十個數字。
Giving 10 number, output them in ascending order.
Input
輸入會包含十個整數,數字間會用一個空白隔開。
Input consist 10 integer, each of them separate by a single space.
Output
從小到大輸出十個數
output the 10 number inascending order.
Sample Input 1 É
Sample Output 1
9 876 5 4 3 2 1 0
e 1 2 3 4 5 67 8 9
Transcribed Image Text:Description 給你十個數字,請從小到大輸出這十個數字。 Giving 10 number, output them in ascending order. Input 輸入會包含十個整數,數字間會用一個空白隔開。 Input consist 10 integer, each of them separate by a single space. Output 從小到大輸出十個數 output the 10 number inascending order. Sample Input 1 É Sample Output 1 9 876 5 4 3 2 1 0 e 1 2 3 4 5 67 8 9
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning