Write a program that allows a user to input words

Assignment Help Computer Engineering
Reference no: EM132158167

use java

make sure it is works

Write a program that allows a user to input words at the command line. Your program should stop accepting words when the user enters "STOP".

Store the words in an ArrayList. The word STOP should not be stored in the list.

Next, your program should loop through the list and print out only the words that contain the letter "a".

Sample Run:

Please enter words, enter STOP to stop the loop. dog zebra cat fish STOP zebra cat

Note: For this activity, you must use the class name, Main and the method, main.

Reference no: EM132158167

Questions Cloud

Write java gui program to update this file : Use java GUI JFileChooser to locate lab.txt from the file directory and use JTextArea to update the file.
Determine the expected frequency of colour : If 15% of men in a population are colour blind, determine the expected frequency of colour blind women in this same population.
Create an application that models a public library : Use Java to create an application that models a public library, where users can borrow books, put books on hold, etc.
What is the chance that elizabeth is a carrier : Elizabeth's great grandfather was Victoria's son, King Edward VII. He was not a haemophiliac. What is the chance that Elizabeth is a carrier for haemophilia?
Write a program that allows a user to input words : Write a program that allows a user to input words at the command line. Your program should stop accepting words when the user enters "STOP".
True breeding lines of mice : Two true breeding lines of mice have different coloured fur: one is solid black; and the other is albino.
Evolution of haemoglobin diseases : Explain how natural selection affects the evolution of haemoglobin diseases such as sickle cell anaemia in humans, and how and why the selective pressures
Population were in hardy-weinberg equilibrium : If the population were in Hardy-Weinberg equilibrium, how many pink individuals would you expect to find in a sample of 50 plants?
Frequency of homozygous or heterozygous individuals : A complete answer will indicate whether violating the assumption is likely to consistently increase the frequency of homozygous or heterozygous individuals

Reviews

Write a Review

Computer Engineering Questions & Answers

  Distinguish between a file type and a file extension

Why is the term binary file a misnomer? Distinguish between a file type and a file extension. What does it mean to open and close a file?

  Write a program that draws a rainbow

Write a program that draws a simple fence with vertical, equally spaced slats backed by two horizontal support boards. Behind the fence show a simple house.

  Which protocol are used in wlan

Which Protocol are used in WLAN (Wireless local area network). and describe functionality of these protocol in wireless local area network.

  Write a program that lets the user enter the initial height

Write a program that lets the user enter the initial height of the ball and the number of times the ball is allowed to continue bouncing.

  Conduct a comparison between latest intel and amd chips

Conduct a comparison between latest Intel and AMD chips and hard drives, compare three of them for comparison and analysis

  Design a basic arithmetic logic unit

159.233 Computer Architecture Assignment. Design a basic Arithmetic/Logic Unit (ALU) that operates on two 2-bit binary numbers a and b

  Design and implementation a comprehensive website

The final project for this course requires the design and implementation of a comprehensive website. Students may choose site goals.

  Do you believe in the existence of wonder heaps

Give a one-sentence definition of i) worst-case running time, ii) tractable problems, iii) the Subset Sum Problem.

  What is the maximum directly addressable memory

A microcontroller with 24 address pins and eight data pins is connected to a 1K × 8 memory with one enable. How many unused address bits of the microcontroller.

  Application development and programming

application development and programming languagesprogramming languages have evolved since the first generation

  What role each play in failed projects

What character does each of the following play in failed projects.

  Make use of a group box to enclose the radio buttons

You have been hired by an engineering company to develop software to perform advanced geometric calculation. Your new boss asked you to develop an application that allows engineers to calculate the surface area and the volume of a sphere.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd