Write a java program. Drinks such as Coffee, Tea, Cola and energy drinks contain caffeine level. Write a java program for a person who drinks green tea on a daily basses. The program will asks the...


Write a java program.


Drinks such as Coffee, Tea, Cola and energy drinks contain caffeine level. Write a java program for a person who drinks green tea on a daily basses. The program will asks the user to input the number of green tea cup consumed a day then calculate and print the amount of caffeine in green tea intake.


Amount of caffeine intake = 28 X number of green tea cup


Your output must follow the Sample input/output below:
Enter number of green tea cup(s):2
Amount of caffeine intake is 56 in 2 cups of green tea



Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here