Skip to content
C

Average of Two Integers

Easyjava

Read two integers and print their average as a decimal with exactly two places. Because int / int drops the fraction, you must divide by 2.0.

Input: two integers separated by whitespace.

Output: one line — the average, two digits after the decimal point.

Input (stdin)

Output

Run your code to see output here...