Question: Write out the python code for problem 3.1 using a while loop and so when q is typed in the program ends. rue n >
rue n > 2 ng with the following program? input"Enter the number of quarters: " int(inputStr) Str.isdigitO: -total+quarters0.25 "Total:", total) "Input error.") SES P3.1 Write a program that reads an integer and prints whether it is negative,zezro.o P3.2 Write a program that reads a floating-point number and prints "zero positive. ifthe o. Otherwise, print "positive" or "negative". Add "small" if the absolus of the number is less than 1, or "large" if it exceeds 1,000,000. Write a program that reads an integer and prints how many digits the num checking whether the number is z 10, z 100, and so on. (Assume that all neg .. P3.3 than ten billion.) If the number is negative, first multiply it by . P3.4 Write a program that reads three numbers and prints "all the same same, "all different" if they are all different and " if they
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
