Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Ask the user to enter a number and tell them if the number is > 5 0 or not Challenge: guard for valid input ie
Ask the user to enter a number and tell them if the number is or not
Challenge: guard for valid input ie make sure they enter a numbernot string garbage
Ask the user to enter a number then print the absolute value of it
Challenge: guard for valid input ie make sure they enter a numbernot string garbage
# Random Print out a random number between and using the random function.
Show two different ways to accomplish this, one that includes the as a possible answer and one that is noninclusive of the
# Free Choice Free choice: write a program that uses any math function we have not used so dont use random or abs
# Voltage Ask a user to enter a number and then if its tell them low voltage, tell them medium voltage, tell them high voltage and if it's over or over tell them electrocution
# Namecount Redo # but every time you print your name out also print out the value of the loop counter do this five times for each loop style you used in problem so two examples a and b
Patti Koenig #
Patti Koenig #
Patti Koenig #
# Fiftytally Redo # but this time put it in a loop that keeps going asking for numbers until you enter a negative number, at which point youll exit the loop and tell them how many of their numbers were This one requires that you use a loop and also keep a tally of the number of times the number entered is over
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started