Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Building Database Driven Catalogs

Authors: Sherif Danish

1st Edition

0070153078, 978-0070153073

More Books

Students also viewed these Databases questions