Question: Homework Instructions: Timing: Submit your homework to Bb by 11:30pm of the day it is due in order to ensure that it has passed through

Homework Instructions: Timing: Submit your homework to Bb by 11:30pm of the day it is due in order to ensure that it has passed through Bb's gates and is ready to process before the end of the day. The last document you submit on time is the one Bb will grade. 3. Given this flowchart, write the program code to implement the flowchart. The algorithm: the user is asked to input the customer's name and their debtl amount and their debt2 amount. The total debt is calculated. If the total debt is greater than $900,000 the name and a message warning of danger is output. If not, but the total debt is greater than $450,000, the name and a message to reduce debt is output. Otherwise, the name and a message congratulating the customer on being careful is output. NO LATE HOMEWORK IS ACCEPTED FOR ANY REASON NOTE: If some documented medical situation interferes with your ability to get your work in on time, notify your instructor. Late homework is never graded; however, your instructor needs to know about your circumstances so that he/she can work with you to find the best options. Start Instructions for the layout of your Homework Document: You are asked to draw flowcharts, create Python program files, run programs, and obtain output in the IDLE window. Photos and/or screenshots of this work must be included in your HW document.. Please ensure that everything is legible. input name The final document must be in PDF format. If you do not know how to create a PDF document, call or visit GMU'S ITS Support or a VSE lab with a student assistant. input debt1 Show ALL of your work in order to get credit. There is a Power Point example of a HW submission on Bb under "Help with Course Materials" on the "Syllabus and Course Information" site input debt2 For these problems, total = debt1 + debt2 1. Write a Python program to: ask the user to enter two integers: int1 and int2. The program uses the exponential operator to calculate and then print the result when int1 is raised to the int2 power. You also want to calculate the result when int1 is raised to the 5 power; however, you realize that it is not possible to take the square root of a negative number. If the value for int1 that is entered is a negative number, print a message to the user explaining why you cannot complete the task. Otherwise, calculate the square root and print it. Finish the program by printing the values of int1 and int2. total >900,000 output name, a danger message total >450,000Y output name, a reduce debt message 2. For problem # 1, when the user entered a negative number, you output a message that it was not possible to take the square root of a negative number. This time you will write a Python program that asks the user to enter a non-negative number (float). If the user does enter a negative number, you will use a while loop to continue prompting the user until you get a valid number (i.e. a number >= 0). Once the user enters a valid number, you calculate and print the square root. Test your program twice, once using a negative number and once using a non-negative number. output name, a congrats message Stop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
