Write a program In Java OOP language A house has 20 members and 20 loafs. A man can eat 3 loafs, women can eat 2 loafs, and child can have only ½ loaf. Each day the 20 loafs are distributed evenly...





Write a program In Java OOP language



A house has 20 members and 20 loafs. A man can eat 3 loafs, women can eat 2 loafs, and child can have only ½ loaf. Each day the 20 loafs are distributed evenly among the members. How many men, women, and kids are in the house?



Answer:

Men = 1


Women = 5


Children = 14


Total = 1*3 + 5 *2 + 14*.5 = 20..













Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here