Problem2204--Read a sentence from the keyboard and write it to the screen

2204: Read a sentence from the keyboard and write it to the screen

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 0  Solved: 0
[Submit] [Status] [Web Board] [Creator:]

Description

Write a code segment that will read a sentence from the keyboard, terminated with a period '.' and write the sentence to the screen with all white space (blanks, tabs, , replaced by the symbol '*'. Use library a function to carry out the determination of whether the character read is 'white space'. Show any #include files you may need.

Input

a sentence terminated with a period '.'

Output

a sentence with all white space (blanks, tabs, , replaced by the symbol '*'.

Sample Input Copy

hello world.

Sample Output Copy

hello*world.

Source/Category

48