Answered step by step
Verified Expert Solution
Question
1 Approved Answer
USING JAVA NETBEANS PLEASE HELP ME TO THIS PROGRAM AND SCREENSHOT THE OUTPUT TYSM! Write a JAVA Program that would: 1. Allow user to enter
USING JAVA NETBEANS PLEASE HELP ME TO THIS PROGRAM AND SCREENSHOT THE OUTPUT TYSM!
Write a JAVA Program that would: 1. Allow user to enter the size and element of an integer array. Display the sum and average of all the elements. 2. Allow user to enter the size and element of a string array. Then ask the user to give a string and display whether that string is present in array or not. (Letter case doesn't matter) 3. Allow user to enter the size and element of an integer array. Display all even- indexed elements (assume 0 is even) 4. Allow user to enter the size and element of a string array. Display the longest string found in the array. 5. Allow user to enter the size and element of a string array. Display the shortest string found in the array. 6. Allow user to enter the size and element of an integer array. Display all odd- indexed elements (assume 0 is even) in reverse order. 7. Allow user to enter the size and element of an integer array. Display the sum of all even-indexed elements and sum of all odd of all even-indexed elements (assume 0 is even) 8. Allow user to enter the size and element of character array. Display all vowels followed by all consonants 9. Allow user to enter the size and element of character array. Then ask the user to give another character. Check if that character is present in the array, if yes, replace it with symbol "@". 10. Allow user to enter the size and element of a string array. Display all strings that starts with a consonantStep 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