Q.2 Person A consumes almost 1320 calories per day Beats almost 1550 Calories per day and...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Q.2 Person A consumes almost 1320 calories per day Beats almost 1550 Calories per day and C consumes almost 1300 calories per day. The calories chart is as follow Food Qty (in grams) 100 100 100 100 100 100 100 Rice (Brown) Wheat flour Bengal gram, whole Cabbage, Peas, dry Rajma, red Red gram, dal Red gram Or Dal 300 gm per day Rajma Red 100 gm, Calorie S 353.7 320.2 287 21.5 Note the condition 1. Each person takes at least 3 items per day, it may be the same for all 30 days e.g. Diet plan for A. 303.2 299.2 330. Rajma Red-3000 gm Cabbage-3000 gm Cabbage 100 gm. It how he gets almost 1320 Calories and for him only, the required grocery for 30 days will be-Red Gram-9000 gm Write down a program that accepts days and tell you, Quantity of groceries required for A B. and C. System will ask Diet plan for A, B & C. Then will ask for days you want to calculate and then will show the output like explained below Grocery for A Grocery for A Red Gram - 9000 gm Rajma Red- 3000 gm Cabbage - 3000 gm Sample Input 1:- A 30 Rice Cabbage Red Gram Dal Sample Output 1: Grocery for A Rice - 6000gm Cabbage-6000gm Red Gram Dal-3000gm (As total calories are under 1320 calories/day for A [ totalCalories / 30 <= 1320]) Q.2 Person A consumes almost 1320 calories per day Beats almost 1550 Calories per day and C consumes almost 1300 calories per day. The calories chart is as follow Food Qty (in grams) 100 100 100 100 100 100 100 Rice (Brown) Wheat flour Bengal gram, whole Cabbage, Peas, dry Rajma, red Red gram, dal Red gram Or Dal 300 gm per day Rajma Red 100 gm, Calorie S 353.7 320.2 287 21.5 Note the condition 1. Each person takes at least 3 items per day, it may be the same for all 30 days e.g. Diet plan for A. 303.2 299.2 330. Rajma Red-3000 gm Cabbage-3000 gm Cabbage 100 gm. It how he gets almost 1320 Calories and for him only, the required grocery for 30 days will be-Red Gram-9000 gm Write down a program that accepts days and tell you, Quantity of groceries required for A B. and C. System will ask Diet plan for A, B & C. Then will ask for days you want to calculate and then will show the output like explained below Grocery for A Grocery for A Red Gram - 9000 gm Rajma Red- 3000 gm Cabbage - 3000 gm Sample Input 1:- A 30 Rice Cabbage Red Gram Dal Sample Output 1: Grocery for A Rice - 6000gm Cabbage-6000gm Red Gram Dal-3000gm (As total calories are under 1320 calories/day for A [ totalCalories / 30 <= 1320])
Expert Answer:
Answer rating: 100% (QA)
Step 1 Solution Code def dietchart dietplan str input Enter the name of person for which you want th... View the full answer
Related Book For
Introduction to Management Science A Modeling and Cases Studies Approach with Spreadsheets
ISBN: 978-0078024061
5th edition
Authors: Frederick S. Hillier, Mark S. Hillier
Posted Date:
Students also viewed these programming questions
-
7 day meal plan DAY 1 Breakfast 2 slices of whole grain bread toasted and smeared with 1 tablespoon nut butter almond butter peanut butter etc 1 large or orange Lunch 2 cups of mixed veggies 1 2 cup...
-
Each gram of mammalian skeletal muscle consumes ATP at a rate of about 1 Ã 10-3 mol/min during contraction. To bridge the short interval between the moderate demand for ATP met by aerobic...
-
Whole food Contingency plan two paragraphs that show you are thoughtful and prepared for the possible challenges beyond your control.Please be specific about the challenges whole food faces and how...
-
You are given the following information concerning Parrothead Enterprises: Calculate the company?s WACC. Debt: 13,000 6.4 percent coupon bonds outstanding, with 15 years to maturity and a quoted...
-
We know that for the classical harmonic oscillator, pav = 0. It can be shown that for the quantum mechanical harmonic oscillator, = 0. Use the results of Problems 4, 6, and 11 to determine the...
-
13 On September 4th, 2009 (Friday), Cadbury's shares closed trading at 5.71 pounds a share in London. The firm had 1.37 billion shares outstanding at that point. At current exchange rates, the market...
-
Riverwood International Corporation, a leading provider of paperboard, announced the following: Discuss why, and under what conditions, FIFO might enable Riverwood International to more closely match...
-
Jansen Company reports the following for its ski department for the year 2015. All of its costs are direct, except as noted. Sales . . . . . . . . . . . . . . . . . . . . .$605,000 Cost of goods...
-
Current Attempt in Progress Compare the financial effects (ignore income tax) of using the FIFO and average inventory cost formulas during a period of declining prices on the following items: (1)...
-
The Dinosaur Adventure Theme Park needs $200 million to build a monorail that will run through the park. The park's financial advisors believe that it will be able to borrow the the money by issuing...
-
Suggest why an organization with a competitive, elitist culture would probably find it difficult to introduce program inspections as a V &V technique.
-
The company found that the current net operating income is equal to 16% of current sales revenue. What is the company's current Margin of Safety (in dollars)?
-
Provide services to customers on account for $42,000. Purchase equipment by signing a note with the bank for $34,000. Repay $27,000 of the note in (2) above. Pay utilities of $4,200 for the current...
-
Lauder Company manufactures and distributes various fixtures used primarily in new building construction. At the company's Bayside plant, Lauder produces two models of one widely used fixture...
-
Case Questions: Recall from class that components (in the WACC formula) are based on the (long-term) target debt-equity ratio. Assumptions: The beta of debt (for both Midland and its divisions) is...
-
The first production department of Stone Incorporated reports the following for April Direct Materials Conversion Units Beginning work in process inventory 79,000 Percent Complete 80% Percent...
-
Listen to the following programs and read the article before answering the questions: 1. https://www.npr.org/2015/07/06/418585084/the-new-science-behind-our-unfair-criminal-justice-system (30 mins)...
-
Suppose the market is semistrong form efficient. Can you expect to earn excess returns if you make trades based on? a. Your brokers information about record earnings for a stock? b. Rumors about a...
-
Dwight is an elementary school teacher who also raises pigs for supplemental income. He is trying to decide what to feed his pigs. He is considering using a combination of pig feeds available from...
-
Read the referenced article that fully describes the management science study summarized in the application vignette presented in Section 10.2. Briefly describe how forecasting was applied in this...
-
a. Formulate this problem in linear programming terms by identifying all the activities, resources, benefits, and fixed requirements that lurk within it. b. Formulate and solve a spreadsheet model...
-
Professor Slim Pickens makes the following statement in his Intermediate II Accounting class: The standards of fieldwork provide the foundation to ensure that the financial statements present fairly...
-
Why do you think mandatory job rotation and vacations are effective controls to reduce instances of fraud? In its 2008 Report to the Nation on Occupational Fraud and Abuse, the Association of...
-
Does it surprise you that the audit of ICFR and external audit were ranked at the bottom as effective tools to prevent/detect fraud? Why or why not? In its 2008 Report to the Nation on Occupational...
Study smarter with the SolutionInn App