1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Kitty [74]
4 years ago
10

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

ters "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
Computers and Technology
1 answer:
vladimir1956 [14]4 years ago
3 0
Hey How are you fine?
You might be interested in
If you want to refine your Google search results by date, which option should you use?
MatroZZZ [7]
On the latest updated version of google the tools option below you search will let you filter you search by time.
4 0
3 years ago
What does it mean when a red squiggly line appears under a typed word? How do we fix it?
Alenkinab [10]
That means the device is programmed to mark the word as grammatically incorrect, if you double tap the word there should be a correct suggestion of the word instead. This may not always be the right one tho, ask someone experienced if you’re unsure.
3 0
3 years ago
Which is a feature of a search engine? stores web pages belonging to a single website displays web pages within a browser finds
faltersainse [42]
Finds web pages that matches key words
8 0
3 years ago
Write a c++ program to input basic salary of an employee and calculate its Gross salary according to following
GREYUIT [131]
<h2>\large\bold{\underline{\underline{Program :}}}</h2>

#include<iostream>

using namespace std;

int main ()

{

float basic, gross, da, hra;

cout<<"Enter basic salary of an employee:";

cin>>basic;

if (basic <25000)

{

da = basic *80/100;

hra = basic *20/100;

}

else if (basic >=25000 & & basic<40000)

{

da = basic *90/100;

hra = basic *25/100;

}

else if (basic>=40000)

{

da = basic *95/100;

hra = basic *30/100;

}

gross = basic + hra + da;

cout<<"\n\t Basic Pay............" <<basic<<endl;

cout<<"\t Dearness Allowance..........." <<da<<endl;

cout<<"\t House Rent Allowance......" <<hra<<endl;

cout<<"\t Gross Salary............." <<gross<<endl;

cout<<"\t - - - - - - - - - - - - - - -" <<endl;

<h2>\large\bold{\underline{\underline{Output :}}}</h2>

Enter Basic Salary of an employee : 25000

Basic Pay : 25000

Dearness Allowance : 22500

House Rent Allowance : 6250

Gross Salary : 53750

<h2>\large\bold{\underline{\underline{Result :}}}</h2>

<h3>The Expected Output is archived</h3>
7 0
2 years ago
PLEASEEEE THIS IS NEXT PERIOD ,,,,Software providers release software updates on a regular basis. However, most people feel that
pav-90 [236]

if you do not update a software the system will not work properly

4 0
3 years ago
Read 2 more answers
Other questions:
  • Charles Lyell believed that:
    7·1 answer
  • Why might a programmer prefer the top-down approach to programming
    7·2 answers
  • Write a program whose input is two integers and whose output is the two integers swapped. Place the values in an array, where x
    12·1 answer
  • What is the default file extension for a document created in Word 2016?​
    14·1 answer
  • Which option will automatically update copied data?
    12·2 answers
  • The mouse pointer becomes different shapes depending on the pointer s location and locations you click on the screen. true false
    6·1 answer
  • Examine the following piece of code and determine the data type of the function's return value.
    11·1 answer
  • In computer science how can you define "copyright, designs and patents act 1988"?​
    8·1 answer
  • (PLATO) Which of these games was a graphical adventure game?
    8·1 answer
  • How can a search be narrowed to only search a particular website????
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!