Skip to content
Sign upLog in
← Back to Community
1.1. Input/print: Sum of three numbers
Profile icon
MohamadAlshabab

Write a program that takes three numbers and prints their sum. Every number is given on a separate line.

Example input
2
3
6

Example output
11

Voters
Profile icon
nuralyafarisha
Profile icon
MohamadAlshabab
Comments
hotnewtop
Profile icon
aliyahjaffer

how do I do this using java?