Calculates fat grams and calories in a food item

Assignment Help Business Management
Reference no: EM132243080

A nutritionist wants a program that calculates fat grams and calories in a food item, using the following formula:

Percentage of calories from fat = (Fat grams x 9) divided by Calories

Also, adhere to the following rules: Make sure the number of fat grams and calories is not less than 0, and the number of calories cannot exceed fat grams x 9. If less than 30 percent of a foods calories come from fat, the program should display a message that the item is "low in fat"

1. Write the pseudocode for this program.

2. Draw a flowchart for this program. 

Reference no: EM132243080

Questions Cloud

Research the new york stop and frisk program : In communist and dictatorship governments, citizens are subject to police and government search, sometimes without cause and warning.
Explain how the leader has influenced you : Explain how this leader has influenced you and why you think he or she is effective. Analyze what characteristics or qualities this person possesses.
Manufacturing and operations plan : Where will you manufacture and what are the benefits of the location? What technical requirements does the facility need? Size? Cost?
Differentiate between job enlargement and job enrichment : Differentiate between job enlargement and job enrichment. Describe how each affects the performance of employees.
Calculates fat grams and calories in a food item : A nutritionist wants a program that calculates fat grams and calories in a food item, using the following formula:
Kroger locations are considered convenience stores : Over its century of growth, mergers have been key to Kroger’s continued success. Kroger locations are considered convenience stores.
What improvements would you have made : In Chapter 7 we are learning about Managing Employee Performance. Think about your last employee evaluation or performance check up. How did you do?
Discuss any of the processes used to find system : Discuss any of the processes used to find system configuration information, fix a network connection, or to configure remote services
Identify and discuss at least three prima facie duties : CRJ 220 : Illustrate two to three (2-3) ways in which you would address self-interest and pursuit of pleasure to prevent police corruption.

Reviews

Write a Review

Business Management Questions & Answers

  Research the minnesota innovation research project

Research the Minnesota Innovation Research Project (MIRP) described in the text and determine what some of the innovations reviewed were.

  Improve the employees performance

Improve an employee before terminating - Before discharging an employee, what are the proper steps in attempting to improve the employee's performance?

  What are conflict handling techniques

What are some conflict handling techniques and when are they appropriate to use and what are the positive and negative impacts?

  What is the theory of conflicting personalities

1. What is the theory of conflicting personalities? Explain a time in your life when this theory was evident and how you resolved the problem at hand.

  As gillettes ceo james m kilts had reason to expect a

as gillettes ceo james m. kilts had reason to expect a lucrative 2005 with annual pay likely exceeding 23 million. but

  Unix or linux for operating systems

Briefly, explain why corporations are increasingly interested in using Unix or Linux for their operating systems? one to two paragraph

  Description of experience with business law

Provide a brief description of your experience with business law and how the law has impacted you on a personal or professional level in general.

  What would you want to acquire

If you could acquire new divisions (skillsets), what would you want to acquire? What would you be willing to pay (in money or in time/effort) to add those to your portfolio? it about 600 words. You have to read 2 chapters then read this journal.

  Price elasticity of demand for the hershey company

What are the factors that affect total revenue including but not limited to price elasticity of demand for the Hershey company?

  Timelines for completion of objectives

Action Planning:This specifies objectives, responsibilities, and timelines for completion of objectives. Description of Strategic Planning Process Used:This describes the process used to develop the plan, who was involved, the number of meetings, any..

  How do they use visuals to keep attention

Locate two annual reports on the Internet. A good source is Report Watch. Compare the style of the two reports. Here are some questions to get you started: 1. How do they use visuals to keep attention? 2. What differences do you see in the lett..

  Explain compensation and benefits acute care hospital

Explain Compensation and Benefits Please respond to the following - Suggest a key factor to be considered in the creation of a competitive compensation

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd