Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Name, age, weight ( kilogram ) and height ( meter ) information of 5 0 people were entered into a two - dimensional A array

Name, age, weight (kilogram) and height (meter) information of 50 people were entered into a two-dimensional A array in a (50x4) matrix structure. (The rows of the matrix define the people, and the columns define the name, age, height and weight information respectively.) Calculating the Body Mass Index (BMI=weight/(height*height)) using the column information for each person in matrix A and printing the result to the screen and also printing the result in the list. For the program that allows calculating the average age of 50 people and printing it on the screen;
A) Draw the flow diagram of the program?
B) Write the program in Python language, paying attention to the spelling rules?

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

Students also viewed these Databases questions