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, 23.06.2019 03:00
You have a sample of a metal, the sample is exactly 6.02 x 1023atom, if the sample has a mass 55.85 what metal is your sample made of?
Answers: 2
question
Chemistry, 23.06.2019 05:00
1. true or false: minerals are inorganic. true false 2. inorganic means that something has never been found alive 3. halite is another name for and is a mineral with a cubic crystal pattern. table salt rock salt
Answers: 2
question
Chemistry, 23.06.2019 07:30
How does a nuclear reactor produce electricity?
Answers: 1
question
Chemistry, 23.06.2019 12:30
When utilizing a transmission electron microscope, why is it necessary to stain the specimen with heavy metal salts?
Answers: 1
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
Mathematics, 04.03.2021 19:00
question
Mathematics, 04.03.2021 19:00
question
Mathematics, 04.03.2021 19:00