calculate the sum and output it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

calculate the sum and output it

int beer = 64; int whiskey = 23; //calculate the sum and output it

5th Jan 2022, 1:53 PM
Agai Blessed
4 Answers
+ 4
Read lesson 6 again – there is an example similar to this task
5th Jan 2022, 2:00 PM
Lisa
Lisa - avatar
+ 2
Hi, what's your question? To solve the task, print the output
5th Jan 2022, 1:55 PM
Lisa
Lisa - avatar
0
Yes to solve the task and print the output
5th Jan 2022, 1:57 PM
Agai Blessed
- 1
System.out.print(/* do arithmetical operation here */); ……… System.out.print(beer + whiskey); Happy Coding 💗
5th Jan 2022, 4:32 PM
TheAdeyemiOlayinka 💗
TheAdeyemiOlayinka 💗 - avatar