4.2 Code Practice: Question 2
Instructions
Write a loop that continually asks the user what p...
Computers and Technology, 29.10.2020 20:40 vale2652
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.
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, 23.06.2019 05:30
Sally is editing her science report about living things. she needs to copy a paragraph from her original report. order the steps sally needs to do to copy the text to her new document.
Answers: 1
Computers and Technology, 23.06.2019 14:30
Norder to receive financial aid at his vocational school, mario must fill out the fafsa. the fafsa is a form that must be completed to determine . in order to complete a fafsa, you must submit . the fafsa can students obtain
Answers: 2
Computers and Technology, 23.06.2019 18:30
The computers in the sales department did not have enough data storage capacity to contain all the information the department needed to store, and it was taking a long time for team members to access the data they needed. to fix the problem, the technician installed new, larger hard drives on all the computers.
Answers: 1
Computers and Technology, 25.06.2019 08:20
The binary numbering system uses only two symbols—the digits 0 and 1—to represent all possible numbers. - true or false
Answers: 3
Mathematics, 25.03.2020 21:53
History, 25.03.2020 21:53
Mathematics, 25.03.2020 21:53
Arts, 25.03.2020 21:53
History, 25.03.2020 21:53
Computers and Technology, 25.03.2020 21:53
Mathematics, 25.03.2020 21:53
Mathematics, 25.03.2020 21:53
Medicine, 25.03.2020 21:53
Mathematics, 25.03.2020 21:53
English, 25.03.2020 21:53