Question: 1. Problem: Create a flowchart and pseudo code to do the following:- You are going to modify week 4 assignment (2 problems) to use input()

1.Problem:

Create a flowchart and pseudo code to do the following:-

You are going to modify week 4 assignment (2 problems) to use input() function (no hard coded values) to prompt the user to enter the values.

Make sure the prompt message is meaningful, do not say "Enter value", say something like this "Enter hours worked" after you get all the inputs, display the results and prompt the user if wants more calculation (y/n). Ifno then printa message like "Thank you for ......."

The flowchart must include a loop and if-then

This is week 4

I am asking for help because i got a zero in week 4 and are looking for guidance to resubmit. Thank you

2.Problem 1:Create a Python program to solve a simple payroll calculation. Calculatethe amount of pay,givenhours worked, and hourly rate. (The formula to calculate payroll is pay = hourly rate * hours worked.)Display hourly rate, hours worked, and pay.

Problem 2: Create a Python program tocalculate the average miles per gallon obtained on a trip. Input the amount of gas used and the number of miles driven. (The formula to calculate miles per gallon is miles per gallon = number of miles driven / amount of gas used. ) Display gas used, miles driven and MPG.Useyour own values to test the.You can hard code the values or you can use the input() function. See lesson 3 for sample code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!