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

Microsoft Office 365 For Beginners 2022 8 In 1

Authors: James Holler

1st Edition

B0B2WRC1RX, 979-8833565759

More Books

Students also viewed these Databases questions

Question

Describe the job youd like to be doing five years from now.

Answered: 1 week ago

Question

So what disadvantages have you witnessed? (specific)

Answered: 1 week ago