Page not loading? Try clicking here.
Placeholder

#516
Language restricted

input - self test 8 1s 32MB

Problems

Write a program that inputs two real numbers and one character and outputs the number, rounding the real numbers to two decimal places.

(For C, C++, and Java, declare real numbers as "double".)


Example #1

12.2536

526.129535
A
12.25

526.13
A

Example #2

92.1
3.14
N
92.10
3.14
N

Source

자기주도C언어프로그래밍

You must sign in to write code.