Question: Exercise 1 a. Use a single scanf function to get input of the name of the user and two numbers, e.g., (John 15 28). Print
Exercise 1 a. Use a single scanf function to get input of the name of the user and two numbers, e.g., (John 15 28). Print the name and the two numbers. b. Use a for loop this time to repeat three times the same process as in a. i.e., inside a for loop include a scanf function asking the user to input their name and two numbers Exercise 2 Write a for loop that finds the x? where x = 1...10 Exercise 3 Similarly to Ex. 2, use a while loop that finds the x? where x = 20...10 (use the order from 20 to 10 and not 10 to 20)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
