4.2 Code Practice: Question 2
Instructions
Write a loop that continually asks the user what p...
Computers and Technology, 31.01.2021 09:50 Longjeremiahs5797
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)
Answers: 3
Computers and Technology, 21.06.2019 16:00
In a cellular network each cell is controlled by a tower what are these towers called?
Answers: 3
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
Computers and Technology, 24.06.2019 10:30
You're programming an infinite loop. what must you include in your code to prevent crashes? in roblox
Answers: 2
Social Studies, 17.09.2019 00:30
History, 17.09.2019 00:30
Computers and Technology, 17.09.2019 00:30
Mathematics, 17.09.2019 00:30
Mathematics, 17.09.2019 00:30
Biology, 17.09.2019 00:30
Biology, 17.09.2019 00:30
Mathematics, 17.09.2019 00:30
Business, 17.09.2019 00:30