subject

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 Computers and Technology

question
Computers and Technology, 23.06.2019 02:00
Which demographic challenge is europe currently experiencing? a. an aging and decreasing population b. a baby boomc. an unequal distribution between males and females d. a large group of teenagers moving through the school system(i chose a but i'm unsure)
Answers: 1
question
Computers and Technology, 23.06.2019 02:50
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
How many points do i need before i can send a chat
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
You know the right answer?
Read a sentence from the console. Break the sentence into words using the space character as a deli...
Questions
question
Mathematics, 26.11.2020 22:30
question
Mathematics, 26.11.2020 22:30
question
English, 26.11.2020 22:30
question
Mathematics, 26.11.2020 22:30
question
World Languages, 26.11.2020 22:30
question
History, 26.11.2020 22:30
question
Social Studies, 26.11.2020 22:30
Questions on the website: 13722363