For this challenge, we are going to create a class called CodingChallenge3
and print how many cups of coffee consumed per year using multiplication in Java. First, we will create an int called coffeePerDay
and put how many cups of coffee you have per day. Then, create another int called daysInYear
that represents how many days there are in a year.
Then, we will print out the result of both of the integers being multiplied. If you get stuck, feel free to scroll down to look at the solution below. Good luck and have fun!

Nice work!! See you in the next chapter!
Leave a Reply