Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can anyone expert here in python nt Paragtaph Styles 1. Filename: assign1-1.py Write a program that takes a person's name and GPA as shown below

can anyone expert here in python

image text in transcribed

image text in transcribed

nt Paragtaph Styles 1. Filename: assign1-1.py 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 int and is displayed as a float. The output should change according to the name and GPA entered Input: assignl-1-py David Jones 3 Output Last Name: David First Name: Jones GPA: 3.0 2. Filename: assign1-2.py Write a program that takes three grades as input, computes the average and produces the output shown below. The output should change according to the grades entered Input: assign!-2.py 83 90 92 Output Grades: 83, 90, 92 Average: 88.333333333333 3. Filename: assign1-3.py Write a program that takes a person's height in inches and weight in pounds as input, computes the BMI and produces the output shown below. The output should change according to the height and weight entered. The BMI formula is BMI = ( weight (height * height ) ) * 703. (Source: http: www bru calculator netbru formulaph Input: assign!-3.py 65 120 Output BMI: 19.9668.. plass Heading 1 NormalStrong Subtitle Font Paragraph Styles 4 Filename: assign|-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. The examples shown below are for Borrowing $100 000 for a condo financed over 30 years with 12 payments per year at 4.5%. a. b. Borrowing $25,000 for a car financed over 6 years with 12 payments per year at 35%. The total amount paid for a loan (accrued amount) is given by the formula below where A is the amourt accrued over the life of the loan including principal, P is the principal, r is the rate as a decimal, n is the number of payments made per year and t is the life of the loan in years. A P (1 + r )pt (Source: http:/www.thecalculatorsite.com/articles/finance/compound-interest formula php) Input: a. assign|-4. 100000 4.5 30 12 b. assign|-4. 25000 3.5 6 12 Output: a. Interest Paid: 284769.80... (Note: A is $100,000 more than this) b. Interest Paid: 5832.52... Note: A is $25,000 more than this) Submission Instructions: . Your code should contain meaningful comments. Place your name, due date and assignment and problem number in comments at the top of the file. Cite all sources in comments Your output should match mine exactly (in spacing, capitalization etc.). Assemble all documents and turn in a hard copy of your source code and related screenshots of outputs

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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