use java
Write a main() method for this problem; you don't need to codeany additional methods. Declare and populate an array with 15string values. Make each value one English word (or a word from alanguage of your choice). How you populate the array is up to you:an input file, shortcut assignment, individual assignmentstatements, etc. Up to you. Then, add code to ask the user for aword. Then, take the word the user provides and search to determinewhether or not the word exists in the array. Code your solution insuch a way that the comparison is case-insensitive and display theresults like the examples shown. Sample input/output dialog: Entera word: test The word 'test' was not found Enter a word: princessThe word 'princess' was found Enter a word: HELP The word 'help'was found
use java Write a main() method for this problem; you don't need to code any additional methods. Declare and populate an
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am