Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 consonant

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions