
Instructors 1. Aalaa 2. Maha 3. Lamar 4. Sahar 5. Nouf 6. Basma 7. Al-anood Total Members: 7
Students 1. Student 1 2. Student 2 3. Student 3 4. Student 4 5. Student 5 Total Members: 5 or help me on this pleas.. 7. Gross And Dozens Design and implement a class called GrossAndDozens to convert a given number of eggs into the number of gross, the number of dozens, and to the number of left over eggs. If you have N eggs, then you have N/12 dozen eggs, with N%12 eggs left. Write a program that asks the user how many eggs he has and then tells the user how many dozen eggs he has and how many extra eggs are left over. A gross of eggs is equal to 144 eggs. Extend your program so that it will tell the user how many gross, how many dozen, and how many left over eggs he has. For example, if the user says that he has 1342 eggs, then your program would respond with
Your number of eggs is 9 gross, 3 dozen, and 10
since 1342 is equal to 9144 + 312 + 10.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.