Question: Chapter 2 Input, Processing, and Output Due on Feb 25 at 3:30 pm Submit the Python code and the program design (pseudocode or flowchart) for

 Chapter 2 Input, Processing, and Output Due on Feb 25 at

Chapter 2 Input, Processing, and Output Due on Feb 25 at 3:30 pm Submit the Python code and the program design (pseudocode or flowchart) for each of the following questions: 1. Write a program that displays the following information: Your name, your city and your college major. 2. A company has determined that its annual profit is typically 23 percent of total sales. Write a program that asks the user to enter the projected amount of total sales, then displays the profit that will be made from that amount. hint: use the value 0.23 to represent 23 percent. 3. Write a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, then calculate the amounts of an 18 percent tip and 7 percent sales tax. Display each of these amounts and the total. 4. Assuming there are no accidents or delays, the distance that a car travels down the interstate can be calculated with the following formula: Distance = Speed x Time A car is traveling at 70 miles per hour. Write a program that displays the distances the car will travel in a. 6 hours b. 10 hours c. 15 hours

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 Databases Questions!