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.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
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
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme