subject

Write a loop that reads strings from standard input where the string is either "land", "air", or "water". The loop terminates when "" (five x characters) is read in. Other strings are ignored. After the loop, your code should print out 3 lines: the first consisting of the string "land:" followed by the number of "land" strings read in, the second consisting of the string "air:" followed by the number of "air" strings read in, and the third consisting of the string "water:" followed by the number of "water" strings read in. Each of these should be printed on a separate line. mathew m

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
What is a costume plot? why is it important to a film or theater production?
Answers: 2
question
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
question
Computers and Technology, 23.06.2019 11:20
Http is the protocol that governs communications between web servers and web clients (i.e. browsers). part of the protocol includes a status code returned by the server to tell the browser the status of its most recent page request. some of the codes and their meanings are listed below: 200, ok (fulfilled)403, forbidden404, not found500, server errorgiven an int variable status, write a switch statement that prints out the appropriate label from the above list based on status.
Answers: 2
You know the right answer?
Write a loop that reads strings from standard input where the string is either "land", "air", or "wa...
Questions
question
History, 01.12.2020 20:30
question
English, 01.12.2020 20:30
question
Mathematics, 01.12.2020 20:30
question
Mathematics, 01.12.2020 20:30
question
English, 01.12.2020 20:30
question
Business, 01.12.2020 20:30
question
Mathematics, 01.12.2020 20:30
question
Geography, 01.12.2020 20:30
Questions on the website: 13722361