3 like 0 dislike
205 views
Write a program that declares an array of 5 elements and uses a loop to assign the values 1.1, 1.2, 1.3, 1.4, and 1.5 to them. Next, the program should display the array's elements in reverse order.

Input:

1.1 1.2 1.3 1.4 1.5

Output:

1.5 1.4 1.3 1.2 1.1

 

References: C From Theory
[Normal] Coding (C) - asked in Introduction to Computer Programming I (C) by (20.9k points)
ID: 21876 - Available when: Unlimited - Due to: Unlimited
| 205 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.69.7.87
©2016-2024

Related questions

3 like 0 dislike
0 answers
[Normal] True/False - asked Feb 11, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21918 - Available when: Unlimited - Due to: Unlimited
| 217 views
2 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 8, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21879 - Available when: Unlimited - Due to: Unlimited
| 181 views
2 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 8, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21877 - Available when: Unlimited - Due to: Unlimited
| 212 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 8, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21875 - Available when: Unlimited - Due to: Unlimited
| 209 views
3 like 0 dislike
0 answers
[Normal] Coding (C) - asked Feb 8, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21874 - Available when: Unlimited - Due to: Unlimited
| 195 views
12,783 questions
183,443 answers
172,219 comments
4,824 users