Skip to content
CampusEduX

Average of Two Integers

Easyjava
Learn the Concept: Arithmetic Operators

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.

Related Problems

Input (stdin)

Output

Run your code to see output here...