Question: I'm trying to write a program in java. If you have N eggs, then you have N/12 dozen eggs, with N%12 eggs left over. (This
I'm trying to write a program in java.
If you have N eggs, then you have N/12 dozen eggs, with N%12 eggs left over. (This is essentially the definition of the / and % operators for integers.) Write a program that asks the user how many eggs she has and then tells the user how many dozen eggs she has and how many extra eggs are left over.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
