Question: In Programming C language # 1 Name Use a loop to write your name ten times Show two different loop styles to accomplish this (

In Programming C language
#1 Name Use a loop to write your name ten times
Show two different loop styles to accomplish this (so two examples a and b)
#2 Fifty Ask the user to enter a number and tell them if the number is >50 or not
Challenge: guard for valid input ie make sure they enter a number/not string garbage
#3 Absolute 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 number/not string garbage
#4 Random Print out a random number between 5 and 8 using the random function.
Show two different ways to accomplish this, one that includes the 8 as a possible answer and one that is non-inclusive of the 8.
#5 Free Choice Free choice: write a program that uses any math function we have not used (so dont use random or abs).
#6 Voltage Ask a user to enter a number and then if its <=30 tell them low voltage, 31-59 tell them medium voltage,>=60<240 tell them high voltage and if it's over 240 or over tell them electrocution
#7 Namecount Redo #1 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 1(so two examples a and b)
Patti Koenig #0
Patti Koenig #1
Patti Koenig #2
#8 Fiftytally Redo #2 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 >50. This one requires that you use a loop and also keep a tally of the number of times the number entered is over 50

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!