A bartender sold 64 bottles beer & 23 bottles whisky, how many bottles did he sell? calculate? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

A bartender sold 64 bottles beer & 23 bottles whisky, how many bottles did he sell? calculate?

I ma newbie. Please guide

4th Feb 2022, 9:48 AM
Mingma Sherpa
4 Answers
+ 2
I know that but how to calculate in java code?
4th Feb 2022, 9:53 AM
Mingma Sherpa
+ 2
Take two variables and assign these values into those.. If those are inputs then take by a scanner and assign to variables.. Calculate sum of two variables and display output. . If you say still how, then complete lessons of variables in java, you can find there how to do by samples, try after this... You can share your try here, if not successful....
4th Feb 2022, 10:00 AM
Jayakrishna 🇮🇳
0
64+23=87
4th Feb 2022, 9:51 AM
Jayakrishna 🇮🇳
0
Thank you for the info. Appreciated
4th Feb 2022, 10:04 AM
Mingma Sherpa