subject
Chemistry, 24.06.2020 19:01 noobieplayerxd

Write a program that takes a string and integer as input, and outputs a sentence using those items as below. You may assume that the string does not contain spaces. The program repeats until the input is quit 0. Ex: If the input is:

apples 5
shoes 2
quit 0

the output is:
Eating 5 apples a day keeps the doctor away .
Eating 2 shoes a day keeps the doctor away .

ansver
Answers: 2

Another question on Chemistry

question
Chemistry, 22.06.2019 02:30
If a 12-v battery is connected to a circuit that has a current of 3.0 a, what is the total resistance in the circuit? 36 ohms 4 ohms 0.25 ohms
Answers: 1
question
Chemistry, 23.06.2019 05:30
Find the midpoint of a segment with endpoints of 4-3i and -2+7i
Answers: 2
question
Chemistry, 23.06.2019 06:00
Is the flow of energy during vaporizing more like the flow during melting or during freezing
Answers: 1
question
Chemistry, 23.06.2019 09:00
What sources of error may have contributed to the percent yield not being 100 percent? think about things that may have led to inaccurate measurements or where mass of the product could have been lost if this experiment was conducted in a physical laboratory.
Answers: 2
You know the right answer?
Write a program that takes a string and integer as input, and outputs a sentence using those items a...
Questions
question
Health, 16.04.2021 19:10
question
Mathematics, 16.04.2021 19:10
question
Mathematics, 16.04.2021 19:10
Questions on the website: 13722367