Question: Problem 1: take 10 integer numbers from the user and then print them using for loop (using array] public static void forwardprint(int[] arr) Problem 2:

 Problem 1: take 10 integer numbers from the user and thenprint them using for loop (using array] public static void forwardprint(int[] arr)Problem 2: print the numbers in reverse order using for loop public

Problem 1: take 10 integer numbers from the user and then print them using for loop (using array] public static void forwardprint(int[] arr) Problem 2: print the numbers in reverse order using for loop public static void reversePrint(int[] arr) Problem 3: find the average of the numbers public static double average(int[] arr) Problem 4: take a digit from the user and return the word version of the digit using switch case public static String digitToWordSwitch(int num) Problem 5: take a digit from the user and return the word version of the digit using String array public static String digitToWordArray(int num) int[] numbers = { 5, 6, 7, 3, 4, 2, 1, 33, 44, 5, 8, 8 }; // creating an array forwardprint(numbers); //this should print the numbers array in normal order reversePrint(numbers);//this should print the numbers array in reverse order double avg = average (numbers); //average(numbers) should return the average of numbers array System.out.println("average = "+avg); int digit = ; // take an integer number from the user and store that in digit System.out.println(digitToWordArray(digit)); //printing the digit in word System.out.println(digitToWordSwitch(digit)); //printing the digit in word

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!