Question: exercise 2 python programming 11:45 LTE -Ch2.PE1.py. Replace with your actual MCC ID which is the first part of your MCC email. For example, my

exercise 2 python programming
exercise 2 python programming 11:45 LTE -Ch2.PE1.py. Replace with your actual MCC
ID which is the first part of your MCC email. For example,
my MCC ID is jbernard, so I would name my filejbernard-Ch2.PE1.py. NOTE:

11:45 LTE -Ch2.PE1.py. Replace with your actual MCC ID which is the first part of your MCC email. For example, my MCC ID is jbernard, so I would name my filejbernard-Ch2.PE1.py. NOTE: You can only submit this assignments as .py file. Submit Assignment Previous Next 26 Dashboard Calendar Notifications Inbox 4:22 Programming Exercises Algorithm Workbench 1. Write a while loop that lets the user enter a number. The number should be tiplied by 10, and the result assigned to a variable named product. The loop should iteratas long as product is less than 100. 2. Write a while loop that asks the user to enter two numbers. The numbers should be added and the sum displayed. The loop should ask the mer if he or she wishes to per form the operation apain. If so, the loop should repeat, otherwise it should terminate 3. Write a for loop that displays the following set of numbers 0. 10. 20, 30, 40, 50 1000 4. Write a loop that asks the user to enter a number. The loop should iterane 10 times and keep a running total of the numbers entered. 5. Write a loop that calculates the total of the following series of numbers 30 *** 6. Rewrite the following statements using augmented signment operators. a. XX1 b. X2 c. X* X / 10 d. x x - 100 7. Write a set of nested loops that display 10 rows of characters. There should be 15 : characters in each row. %. Write code that prompts the user to enter a positive nonzero number and validates 9. Write code that prompts the user to enter a number in the range of 1 through 100 and validates the input + + the input Programming Exercises 1. Bug Collector A bust collector collects bus every day for five days. Write a program that keeps a running total of the number of bugs collected during the five days. The loop should ask for the number of bugs collected for each day, and when the loop is finished, the program should display the total number of bugs collected. 2. Calories Burned Running on a particular treadmill you burn 4.2 calories per minute. Write a program that uses a loop to display the number of calories burned after 10, 15, 20, 25, and 30 minutes 3. Budget Analysis Write a program that asks the user to enter the amount that he or she has haigeted for a month. A loop should then prompt the user to enter cach of his or her expenses for the month and keep a running total. When the loop finishes, the program should display the amount that the user is over or under hudget 213

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!