Engineering
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++

answer
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, jadeochoa4466
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
image
Engineering, 04.07.2019 18:10, caitlynnpatton1208
Water in a partially filled large tank is to be supplied to the roof top, which is 8 m above the water level in the tank, through a 2.2-cm-internal-diameter pipe by maintaining a constant air pressure of 300 kpa (gage) in the tank. if the head loss in the piping is 2 m of water, determine the discharge rate of the supply of water to the roof top in liters per second.
Answers: 3
image
Engineering, 04.07.2019 18:20, mjcbs21
What is the heat treatment of metals? what is the benefit of it? why and how it's useful? answer in details, do not write by hand.
Answers: 3
image
Engineering, 04.07.2019 19:10, phantomlizz3233
In general, how do thermosetting plastics compare to thermoplastics in mechanical and physical properties?
Answers: 3
Do you know the correct answer?
Read a sentence from the console.

Break the sentence into words using the space characte...

Questions in other subjects:

Konu
Social Studies, 14.12.2021 07:40
Konu
English, 14.12.2021 07:50
Konu
Arts, 14.12.2021 07:50
Konu
Mathematics, 14.12.2021 07:50
Konu
Chemistry, 14.12.2021 07:50