Problem:
Question 1: Design an algorithm that prompts the user to enter a number in the range of 1 through 100 and validates the input ?
Question 2: Design an algorithm that prompts the user to enter a number that is greater than 99 and validates the input
Question 3: Assume names is an Integer array with 20 elements. Design a FOR loop that displays each element of the array.
Question 4: Design an algorithm for a function that accepts an integer array as an argument and returns the total values in the array
Show the code, demonstrate it works properly and describe what it is doing.