Solved

Write a Code Segment That Will Read a Sentence from the Keyboard,terminated

Question 6

Essay

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,<cr>,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.

Correct Answer:

verifed

Verified

#include <cctype> // for isspace
#...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions