subject
Engineering, 11.02.2020 00:55 minersaysay22

Read a sentence from the console.

Break the sentence into words using the space character as a delimiter.

Iterate over each word, if the word is a numeric value then print its value doubled, otherwise print out the word, with each output on its own line.

Sample Run:

Sentence: Hello world, there are 3.5 items.

Output:

Hello

world,

there

are

7

items. C++

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 19:30
When using the ohmmeter function of a digital multimeter, the leads are placed in what position relative to the component being tested? a. parallel b. control c. series d. line
Answers: 3
question
Engineering, 04.07.2019 18:10
Air is to be cooled in the evaporator section of a refrigerator by passing it over a bank of 0.8-cm-outer-diameter and 0.4-m-long tubes inside which the refrigerant is evaporating at -20°c. air approaches the tube bank in the normal direction at 0°c and 1 atm with a mean velocity of 4 m/s. the tubes are arranged in-line with longitudinal and transverse pitches of sl- st 1.5 cm. there are 30 rows in the flow direction with 15 tubes in each row. determine (a) the refrigeration capacity of this system and (b) pressure drop across the tube bank. evaluate the air properties at an assumed mean temperature of -5°c and 1 atm. is this a good assumption?
Answers: 1
question
Engineering, 04.07.2019 18:10
Coiled springs ought to be very strong and stiff. si3n4 is a strong, stiff material. would you select this material for a spring? explain.
Answers: 2
question
Engineering, 04.07.2019 18:10
Draw the engineering stress-strain curve for (a) bcc; (b) fcc metals and mark important points.
Answers: 1
You know the right answer?
Read a sentence from the console.

Break the sentence into words using the space characte...
Questions
question
Social Studies, 01.08.2020 22:01
question
Mathematics, 01.08.2020 22:01
question
Mathematics, 01.08.2020 22:01
question
Mathematics, 01.08.2020 22:01
Questions on the website: 13722363