logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Sarandeep GuptaGeneral article writing
(5/5)

578 Answers

Hire Me
expert
Bernard BealeBusiness
(5/5)

943 Answers

Hire Me
expert
Myra HaydenOthers
(5/5)

972 Answers

Hire Me
expert
Jayden StewarttHistory
(4/5)

609 Answers

Hire Me
Raptor Programming

Raptor file holds height and weight for a group of people Each pair of numbers in the file is a record for one person

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

RAPTOR

This file holds height and weight for a group of people. Figure-1 shows the “hw.txt” file. Each pair of numbers in the file is a record for one person. For example, the first pair is (180,180); it means the height is 180 cm and weight is 180 lb for person-1. The 2nd pair is (170,200); it means the height is 170 cm and the weight is 200 lb for person-2 and so on

We use height and weight to calculate the Body Mass Index (BMI) for a person. The following formula is used to calculate the BMI:

𝑩𝑴𝑰 =π’Œπ’ˆ/π’ŽπŸ

As you have seen in the text file, the heights and weights are given in cm and lb respectively, so before we can apply the formula to do the calculation, we have to convert the height and weight to kilogram and meter respectively. For conversion, please use 2.2 lb = 1 kg and 100 cm = 1meter. Once the BMI is calculated then we use the result to determine whether a person has normal weight or underweight or overweight or obese. We use the following to calculate the BMI category based on the calculated

BMI:

BMI Categories:

Underweight = <18.5 Normal weight = 18.5–24.9 Overweight = 25–29.9

Obesity = BMI of 30 or greater

Your task is to write a raptor program using sub charts that will generate the following output:

The problem can be solved in many ways. So, you can choose any approach. To solve the problem, I have designed the following main function, but your solution could be different. You can use the following for your reference only.

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. ThisΒ  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme