6 like 0 dislike

Write a program to sort 4 numbers. The program will ask user to input 4 variables, then display them on the screen by increasing order.

Example Input:

4 37 53 9

Output:

4 9 37 53

 

[Normal] Coding (C) - asked in Introduction to Computer Programming I (C) by (12.1k points)
ID: 27173 - Available when: Unlimited - Due to: Unlimited

retagged by | 173 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:34.204.180.223
©2016-2021

Related questions

5 like 0 dislike
0 answers
[Normal] Coding (C++) - asked Oct 10, 2017 in Introduction to Computer Programming I (C) by admin (9.8k points)
ID: 25998 - Available when: Unlimited - Due to: Unlimited
| 141 views
6 like 0 dislike
0 answers
[Normal] Coding (C) - asked Oct 10, 2017 in Introduction to Computer Programming I (C) by thopd (12.1k points)
ID: 25999 - Available when: Unlimited - Due to: Unlimited
| 69 views
6 like 0 dislike
2 answers
[Normal] Coding (C) - asked Oct 16, 2017 in Introduction to Computer Programming I (C) by thopd (12.1k points)
ID: 27175 - Available when: Unlimited - Due to: Unlimited
| 142 views
11,972 questions
154,630 answers
156,371 comments
4,246 users