Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Data Programming I: PHYTON 1. Write a program that takes a person's name and GPA as shown below and produces the output shown below. Note

Data Programming I: PHYTON

1. Write a program that takes a person's name and GPA as shown below and produces the output shown below. Note that the GPA is entered as an integer and displayed as a float number.

2. Write a program that takes four grades as input, computes the average and produces the output shown below. Use round function to have at most 2 decimal places in the average.

3. Write a program that takes a person's name, height in inches and weight in pounds as input, compute the BMI and produce the output shown below. The BMI formula is BMI=(weight/(height*height))*703 . Use the round function to have at most 2 decimal places in the answer.

4. Write a program that takes the terms of a loan as inputs(principal, interest rate as a %, number of payments per year, and the total number of years), computes the interest paid over the life of the loan and produces the output shown below.

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

Finance The Role Of Data Analytics In Manda Due Diligence

Authors: Ps Publishing

1st Edition

B0CR6SKTQG, 979-8873324675

Students also viewed these Databases questions