subject

4.2 Code Practice: Question 2 Instructions
Write a loop that continually asks the user what pets the user has until the user enters rock, in which case the loop ends. It should
acknowledge the user in the following format. For the first pet, it should say you have a dog with a total of 1 pet(s) if they enter dog, and
so on
cate
Sample Run
What pet do you have? lemur
what pet do you have? parrot
what pet do you have? cat
what pet do you have? rock
Sample Output
You have a lemur with a total of 1 pet(s)
You have a parrot with a total of 2 pet(s)
You have a cat with a total of 3 pet(s)

ansver
Answers: 3

Another question on Computers and Technology

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, 24.06.2019 09:10
  to change the number of rows and columns displayed by the excel object a. select the object and drag a size handle on the active object. b. deselect the object and drag a size handle of the object. c. deselect the object and drag a row or column divider of the object. d. select the object and drag a row or column divider on the active object.
Answers: 2
question
Computers and Technology, 25.06.2019 01:00
Your computer will organize files into order. alphabetical chronological size no specific
Answers: 2
question
Computers and Technology, 25.06.2019 01:30
If the average computer chip had 1,200 transistors per square inch in 1970, approximately how many transistors per square inch would one have in 1976? use moore's law to calculate your answer
Answers: 1
You know the right answer?
4.2 Code Practice: Question 2 Instructions
Write a loop that continually asks the user what p...
Questions
question
Mathematics, 10.12.2019 03:31
question
Mathematics, 10.12.2019 03:31
Questions on the website: 13722367