Free Essay

Calorie Management Visual Logic

In:

Submitted By projectshadow
Words 273
Pages 2
During this week we discussed the various components and variables that will encompass the program overall. We have determined that the program will need to obtain various information from the user during the entirety of the program. This is not to just run the program, but to also make the experience more user-friendly. We have determined that we will need to acquire the user's name, calorie limit/goal, total caloric intake, and if exercise was done, the total amount of calories burned.
With the information is acquired from the user we can formulate the amount calories the user has left to stay within their goal. From there, we can provide a message to provide encouragement or praise depending whether or not the user is staying within their given goal. Lastly, we have determined that we will also need a greeting, a farewell, and thank you messages to make the whole user experience much more approachable.
Next, we are aiming to formulate and layout the logical flow. We are also aiming to write out the various tasks and subtasks to accomplish the program. The general pseudo code is as follows:

Start
Display greeting text
Ask for user's name and create variable for user's name
Acquire the user's caloric limit/daily goal Ask for the user's total intake for the day
Ask the user if they exercised and receive calories burned
Calculate if the user is over or under goal and display the remaining calories for the day
Show encouragement if user is over their limit and advise additional exercise and less eating
Show praise if user is under their limit
Thank user
En

Similar Documents

Free Essay

Prg 211 Entire Class Computer Programming

...COMPUTER PROGRAMMING PRG 211 Complete Class Algorithms and Logic for Computer Programming WEEK 1 PRG 211 Week 1 Programming Fundamentals -Reusability of Code Discussion Question 1 Discussion Question 2 WEEK 2 PRG 211 Week 2 Program Solution Proposal Discussion Question 1 Discussion Question 2 WEEK 3 PRG 211 Week 3 Selection Structure Visual Logic Flowchart.vls PRG 211 Week 3 Selection Structure paper /800 words Discussion Question 1 Discussion Question 2 WEEK 4 PRG 211 Week 4 Array Structure Proposal Visual Logic Flowchart PRG 211 Week 4 Individual Assignment – Array Structure Proposal Discussion Question 1 Discussion Question 2 WEEK 5 Calorie Management Visual logic Flowchart Final Team Assignment – Calorie Management Paper /1500 Word Final Team Assignment – Calorie Management Presentation Discussion Question 1 Discussion Question 2 PRG 211 ENTIRE CLASS COMPUTER PROGRAMMING PRG 211 Complete Class Algorithms and Logic for Computer Programming WEEK 1 PRG 211 Week 1 Programming Fundamentals -Reusability of Code Discussion Question 1 Discussion Question 2 WEEK 2 PRG 211 Week 2 Program Solution Proposal Discussion Question 1 Discussion Question 2 WEEK 3 PRG 211 Week 3 Selection Structure Visual Logic Flowchart.vls PRG 211 Week 3 Selection Structure paper /800 words Discussion Question 1 Discussion Question 2 WEEK 4 PRG 211 Week 4 Array Structure Proposal Visual Logic Flowchart PRG 211 Week 4 Individual Assignment – Array Structure...

Words: 287 - Pages: 2

Free Essay

Calorie Management Program

...PRG/211 – Week 5 Team B – Algorithm Planning Visual Logic CALORIE MANAGEMENT PROGRAM Week 2 Algorithm Planning Week 3 Program Variables for Calorie Management Week 4 Verification & workaround for Calorie Management Week 5 Learning Team Assignment ****************************************************** About the Assignment Imagine that your team of software developers won a contract to develop a program that will identify whether a person is balancing calories consumed with those being expended or burned by taking the following into account:   The balance of calories is calculated daily. Calories are consumed in both food and beverages. Calories can be identified from both product labeling and calorie counters located on the Internet. Calories are burned daily in both daily living and exercise. Calories expended or burned can be calculated using calorie calculators located on the Internet. The balance of calories may be displayed in either calories or pounds and ounces. The following are examples of the information that might be provided: Calories are in balance. _ _ _ more calories are consumed than expended. _ _ _ more calories are expended than consumed. No pounds/ounces were gained or lost. _ pounds _ _ ounces may have been gained. _ pounds _ _ ounces may have been lost. Use the following computation: One pound equals 3500 calories. THE PLAN Identify the criteria TEAM B will need to develop the required software. To do this, Team B must...

Words: 1400 - Pages: 6

Premium Essay

Calorie Management

...Calorie Management by Team A PRG/211 - Algorithms and Logic for Computer Programming June 29, 2015 Calorie Management With rising obesity rates all across the United States of America, the team felt that it was necessary to build a program that could help citizens make healthier decisions and track those decisions on a day-to-day basis. The team set out to create a program that could manage and track a person’s daily calorie expended as it compares to their calorie intake. This program allows the consumers of the application be more conscientious of the choices they make as to how often they workout and what they choose to eat. To better help you as investors understand the proprietary nature of our application along with the ease of use for the end consumer, we will discuss each of these details along with future updates for this application. Not only will this application continue to improve the lives of those who use it, but it will become a social and cultural phenomenon that will contribute to bettering the lives of all those who need it. The mass appeal of this application is that it is not only a weight loss application, but also one for those who are already healthy. It will help to provide a way for the user to maintain his or her already good habits they have learned on their own or through use of the application The Program The program will ask for specific information about the user’s calories consumed, and calories expended. The calories consumed...

Words: 2262 - Pages: 10

Free Essay

Calorie Management

...Calorie Management Over the course of this class and the few weeks that encompassed this learning process, we have learned several different conceptual applications for the integration of algorithms within the infrastructure of a company. The idea of using an algorithm or a program to influence or benefit our daily lives is an obvious choice for an application. We cannot use a program to cure cancer, diabetes or other wide ranging diseases, but we can use it to help with weight management, the mastery of which can lead to several different areas of improvement. By creating a program that will aid in the eradication of obesity, we can go a long way towards improving the mass health of the worldwide human population. The obesity rate in America has become an epidemic. According to Forecasting Obesity in America, obesity rates in America could be up as high as 86.3 percent by 2030 and in 40 years every single American could be overweight (Bialik, 2008). Those numbers may be a bit outlandish, but they are not far off given the current state of our nation. With that said, weight management boils down to a simple question of "Are we taking in fewer calories than we are burning?" and “Are we truly taking action to manage our weight?” We need to figure out a way to let individuals see the true results of their daily calorie intake and help he or she see exactly what affect it is having on their overall health. By helping individuals see those results we can hopefully help...

Words: 2321 - Pages: 10

Premium Essay

Integratedd Marketing Communication

...Chapter 1 PROBLEM AND ITS BACKGROUND Introduction Every student knows McDonalds inside and outside the campus, in every corner of the street, in cities even on commercial places in provinces. Child and adult are part for its everyday success. The fast growth of fast food industry in the Philippines led some observers to say that we are now on the burger generation. Integrated Marketing Communication (IMC) is an approach to brand communication where the different modes work together to create a seamless experience for the customers and are presented with a similar tone and style that reinforces the brands core message. Its goal is to make all aspects of marketing communication such as advertising, sales promotion, public relations, direct marketing, personal selling, online communication and social media work together as unified force, rather than permitting each to work in isolation, which maximize their cost effectiveness (Clow and Baack, 2006). Marketers believe that quality products may not sustain its sales unless appropriate marketing communication is employed. Thus, IMC has been conceptualized to explore all the means in order to reach every member of the target market. For IMC to work well, it requires a lot of planning and right timing for its implementation. Food establishment like McDonalds utilize IMC to attain a variety of objectives. McDonald offer a pleasant alternative to eating where in one can choose any variety of foods and offers a well prepared hot...

Words: 11797 - Pages: 48

Premium Essay

Marketing Plan

...ONE GOOD COOKIE A Final Business Plan Presented to Professor Hal Lefkowitz School of Business and Management National University In Partial Fulfillment of the Requirements for MGT 610C and the Degree Master of Business Administration by Virginia C. Hire Damrauer September 2010 Copyright 2010 Virginia C. Hire Damrauer ALL RIGHTS RESERVED Executive Summary When I was traveling for work, it struck me that the interesting places were *not* the chains I find at home, it was the unique experiences that I was craving.  Not a franchise, and not an internet thing, just a face-to-face unique experience kind of place. One Good Cookie is a sole proprietorship business with the vision of providing “One Good Cookie at a Fair Price.” Our slogan is “One Good Cookie Deserves Another! TM” and our mission is “To make unique, creative, high quality cookies and provide them locally at a fair price in a single-store cookie shop.” Our values are community, quality ingredients, and fair prices. Our financial objectives are to achieve an average sales transaction of $4.50 per customer by the end of the first year and to increase the first year profit by 5% in the second year of business. The top local competitors are profitable with revenues of over $500,000 per year (Manta.com, 2010b, 2010d) and are sustainable as most have been in business for 15 years or more (Manta.com, 2010a, 2010b, 2010d). Financial projections show that the business...

Words: 10474 - Pages: 42

Premium Essay

Communication

...MBA : UNIT1 Teaching Notes : 1. Definition of Research 2. Business Research 3. Features of a Good Research Study 4. Areas of Business Research 5. How to start Business Research 6. Business Research Analysis : Basic Steps 7. Business Research Problem 8. Primary Business Information 9. Research Proposal ( also in Unit2) 10. Research Methods versus Methodology 11. Types of Research 12. Functions of Business Research 13. Relevance of Business Research to Managers 14. Need to perform Business Research 15. Managerial Effectiveness and Research 16. Management Consultant 17. The Building Blocks of Science in Research 18. Induction & Deduction in Business Research 19. The Case Study as a Research Method 20. Case Study to Assess Business Situations 21. Difference between the case method and a case study? 22. Business Research Topics 23. Business Research in the 21st Century Definition of Research Research in common parlance refers to a search for knowledge. Once can also define research as a scientific and systematic search for pertinent information on a specific topic. In fact, research is an art of scientific investigation. The Advanced Learner’s Dictionary of Current English lays down the meaning of research as “a careful investigation or inquiry specially through search for new facts in any branch...

Words: 21920 - Pages: 88

Free Essay

Positioning the Battle for Your Mind

...redirecting... | |cover |next page > | | | | | | | | | | | | | | | | | | | | ...

Words: 30800 - Pages: 124

Free Essay

Case Study

...Confirming Pages bye80180_appB_539-654.qxd 11/19/09 9:17 AM Page 539 technology ventures - management dell’imprenditorialità e dell’innovazione Richard C. Dorf, Andrew J. Nelson, Roberto Vona Copyright © 2011 – The McGraw-Hill Companies srl A P P E N D I X B Cases 539 bye80180_appB_539-654.qxd 11/19/09 9:17 AM Page 540 Confirming Pages technology ventures - management dell’imprenditorialità e dell’innovazione Richard C. Dorf, Andrew J. Nelson, Roberto Vona Copyright © 2011 – The McGraw-Hill Companies srl 540 APPENDIX B Cases TREXEL We’ve never met a customer who wasn’t interested in our technology. —David Bernstein, CEO of Trexel David Bernstein hung up the phone with Alex d’Arbeloff, Trexel’s largest investor, and contemplated an upcoming Board of Directors meeting scheduled for June 25, 1998. The meeting was only 10 weeks away and Bernstein, Trexel’s president and chief executive officer, needed to present a coherent vision of the company’s new strategy. Bernstein believed that Trexel’s patented technology for manufacturing foamed plastics had the potential to revolutionize much of the worldwide plastics industry. His innovative process technology, known as MuCell, allowed the Woburn, Massachusetts company to produce foamed plastic utilizing 25% to 50% less material than traditional solid plastics without a significant decrease in the strength of the plastic. Bernstein believed the market for products produced via this...

Words: 51437 - Pages: 206

Free Essay

Swn Jdkjkjje Jne

...Employment News 31 May - 6 June 2014 www.employmentnews.gov.in 21 UNION PUBLIC SERVICE COMMISSION EXAMINATION NOTICE NO. 09/2014-CSP (LAST DATE FOR RECEIPT OF APPLICATIONS : 30/06/2014) DATE :31.05.2014 CIVIL SERVICES EXAMINATION, 2014 (Commission’s website-http://upsc.gov.in) F. No. 1/5/2013-E.I(B) : Preliminary Examination of the Civil Services Examination for recruitment to the Services and Posts mentioned below will be held by the Union Public Service Commission on 24th Aug., 2014 in accordance with the Rules published by the Department of Personnel & Training in the Gazette of India Extraordinary dated 31st May, 2014. (i) Indian Administrative Service. (ii) Indian Foreign Service. (iii) Indian Police Service. (iv) Indian P & T Accounts & Finance Service, Group ‘A’. (v) Indian Audit and Accounts Service, Group ‘A’. (vi) Indian Revenue Service (Customs and Central Excise), Group ‘A’. (vii) Indian Defence Accounts Service, Group ‘A’. (viii) Indian Revenue Service (I.T.), Group ‘A’. (ix) Indian Ordnance Factories Service, Group ‘A’ (Assistant Works Manager, Administration). (x) Indian Postal Service, Group ‘A’. (xi) Indian Civil Accounts Service, Group ‘A’. (xii) Indian Railway Traffic Service, Group ‘A’. (xiii) Indian Railway Accounts Service, Group 'A'. (xiv) Indian Railway Personnel Service, Group ‘A’. (xv) Post of Assistant Security Commissioner in Railway Protection Force, Group ‘A’ (xvi) Indian Defence Estates Service, Group...

Words: 47693 - Pages: 191

Premium Essay

Student

...C hapter Two: The Basics of Logical Reasoning The Logical Reasoning Section The focus of this book is on the Logical Reasoning section of the LSAT, and each Logical Reasoning section contains a total of 24 to 26 questions. Since you have thirty-five minutes to complete the section, you have an average of approximately one minute and twenty-five seconds to complete each question. Of course, the amount of time you spend on each question will vary with the difficulty of each question and the total number of questions per section. For virtually all students the time constraint is a major obstacle, and as we progress through this book we will discuss time management techniques as well as time-saving techniques that you can employ within the section. The Section Directions Each Logical Reasoning section is prefaced by the following directions: “The questions in this section are based on the reasoning contained in brief statements or passages. For some questions, more than one of the choices could conceivably answer the question. However, you are to choose the best answer; that is, the response that most accurately and completely answers the question. You should not make assumptions that are by commonsense standards implausible, superfluous, or incompatible with the passage. After you have chosen the best answer, blacken the corresponding space on your answer sheet.” On average, you have 1 minute and 25 seconds to complete each question. Because these directions precede...

Words: 175039 - Pages: 701

Free Essay

Whirlpool

...Employment News 11 - 17 February 2012 www.employmentnews.gov.in 21 Union Public Service Commission EXAMINATION NOTICE NO. 04/2012-CSP DATED 11.02.2012 (LAST DATE FOR RECEIPT OF APPLICATIONS : 05.03.2012) CIVIL SERVICES EXAMINATION, 2012 (Commission's website - http://www.upsc.gov.in) F. No. 1/4/2011-E.I(B) : Preliminary Examination of the Civil Services Examination for recruitment to the Services and Posts mentioned below will be held by the Union Public Service Commission on 20th May, 2012 in accordance with the Rules published by the Department of Personnel & Training in the Gazette of India Extraordinary dated 4th February, 2012. (i) Indian Administrative Service. (ii) Indian Foreign Service. (iii) Indian Police Service. (iv) Indian P & T Accounts & Finance Service, Group ‘A’. (v) Indian Audit and Accounts Service, Group ‘A’. (vi) Indian Revenue Service (Customs and Central Excise), Group ‘A’. (vii) Indian Defence Accounts Service, Group ‘A’. (viii) Indian Revenue Service (I.T.), Group ‘A’. (ix) Indian Ordnance Factories Service, Group ‘A’ (Assistant Works Manager, Administration). (x) Indian Postal Service, Group ‘A’. (xi) Indian Civil Accounts Service, Group ‘A’. (xii) Indian Railway Traffic Service, Group ‘A’. (xiii) Indian Railway Accounts Service, Group 'A'. (xiv) Indian Railway Personnel Service, Group ‘A’. (xv) Post of Assistant Security Commissioner in Railway Protection Force, Group ‘A’ (xvi) Indian Defence Estates Service, Group ‘A’. (xvii) Indian Information...

Words: 50586 - Pages: 203

Free Essay

Gmat

...CR TOPIC-WISE EXERCISES (700-800 LEVEL) 1 The 700-800 Club Critical Reasoning Critical Reasoning Topic 1: CONCLUSION 1. • • • • • 2. In the United States, about $5,200 per person per year is spent on health care, while in Britain the amount is about half that. A recent study indicated that middle-aged white Americans have a significantly higher rate of diabetes and heart disease than do middle-aged white Britons. Even after eliminating from the study the lifestyle differences of diet, exercise, smoking, and drinking, the data showed that the Americans have poorer health than their British counterparts. The statements above, if true, best support which of the following assertions? Health care spending in the United States should be reduced by 50%. More expensive health care causes a higher incidence of certain diseases. The money spent on health care in the United States is not being used effectively. The average health care spending for middle-aged white Americans is probably less than the average health care spending for Americans in general. Something other than diet, exercise, smoking, and drinking must account for the difference in health for the two groups in the study. Spokesperson: In the 2006 election of the city mayor, 55% of the voters were female. All the voters were between ages 18 and 70 and 2/3 of them supported the incumbent mayor. The incumbent mayor won the election with a substantially greater number of votes than any other...

Words: 52762 - Pages: 212

Premium Essay

Your Research Project

...your research project your research project a step-by-step guide for the first-time researcher NICHOLAS WALLIMAN with Bousmaha Baiche SAGE Publications London • Thousand Oaks • New Delhi To my wife, Ursula © Nicholas Walliman 2001 Chapter 2 © Dr Bousmaha Baiche 2001 First published 2001 Apart from any fair dealing for the purposes of research or private study, or criticism or review, as permitted under the Copyright, Designs and Patents Act, 1988, this publication may be reproduced, stored or transmitted in any form, or by any means, only with the prior permission in writing of the publishers, or in the case of reprographic reproduction, in accordance with the terms of licences issued by the Copyright Licensing Agency. Inquiries concerning reproduction outside those terms should be sent to the publishers. SAGE Publications Ltd 6 Bonhill Street London EC2A 4PU SAGE Publications Inc 2455 Teller Road Thousand Oaks, California 91320 SAGE Publications India Pvt Ltd 32, M-Block Market Greater Kailash – I New Delhi 110 048 British Library Cataloguing in Publication data A catalogue record for this book is available from the British Library ISBN 0 7619 6538 6 ISBN 0 7619 6539 4 (pbk) Library of Congress catalog record available Typeset by Keystroke, Jacaranda Lodge, Wolverhampton. Printed in Great Britain by The Cromwell Press Ltd, Trowbridge, Wiltshire CONTENTS Acknowledgements Introduction 1 2 3 4 5 6 7 8 Research and the Research Problem Information...

Words: 136496 - Pages: 546

Premium Essay

Tongue and Quill

...The Tongue and Quill AFH 33-337 1 AUGUST 2004 Communication is an essential tool for the twenty-first century Air Force BY ORDER OF THE SECRETARY OF THE AIR FORCE AIR FORCE HANDBOOK 33-337 1 AUGUST 2004 Communications and Information THE TONGUE AND QUILL COMMUNICATING IS A POWERFUL TOOL FOR THE TWENTY-FIRST CENTURY AIR FORCE The Tongue and Quill is dedicated to every man and woman in today’s Air Force who will ever sling ink at paper, pound a keyboard, give a briefing, or staff a package to support the mission. Currently, The Tongue and Quill is widely used by Air Force military and civilian members, professional military school educators and students, and civilian corporations around the United States. As United States Air Force employees, it is important we communicate clearly and effectively to carry out our mission. This handbook together with AFMAN 33-326, Preparing Official Communications, will provide the necessary information to ensure clear communications— written or spoken. The use of the name or mark of any specific manufacturer, commercial product, commodity, or service in this publication does not imply endorsement by the Air Force To all you enthusiastic users worldwide, keep up the good fight! SUMMARY OF REVISIONS This revision improved organization; rearranged layout; updated quotes, art and word lists; and added material on preparing to write and speak, writing with focus, communicating to persuade, research, meetings, briefings and listening;...

Words: 125419 - Pages: 502