Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Make a c file which implemenst the structure Personalinfo. Provide the following functions for working with objects of Personalinfo. Inside of function main() Show how
Make a c file which implemenst the structure Personalinfo. Provide the following functions for working with objects of Personalinfo. Inside of function main() Show how to use that structures, and how to use their functions. struct Personalinfo { int age; int ID; float mass; float height; }; void Prin ? _); // prints the content of a structure Personalinfo ? BMI ( ? _); // calculates the body mass index (BMI) of the person and prints the general idea of his/her body Register ?); // makes the object of struct Personalinfo, fills in the fields (data) inside the structure The calculation of BMI and its result are; BMI = mass/height^2 Underweight : BMI 29.9
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started