3 like 0 dislike
180 views
Write a program that reads a float number and displays the previous and next integers.

Sample Input:

3.1416

Sample Output:

3

4

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

Related questions

3 like 0 dislike
0 answers
[Normal] Coding (C) - asked Jan 25, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21795 - Available when: Unlimited - Due to: Unlimited
| 190 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: 21876 - Available when: Unlimited - Due to: Unlimited
| 178 views
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
| 181 views
5 like 0 dislike
0 answers
[Normal] Coding (C) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21974 - Available when: Unlimited - Due to: Unlimited
| 267 views
5 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: 25996 - Available when: Unlimited - Due to: Unlimited
| 241 views
15,056 questions
244,373 answers
215,948 comments
5,696 users