Question: Use C++ Task Write a program that replaces punctuation with whitespace, i.e., a space, as follows: consider punctuation characters as (dot), (comma),?' (question mark),
Use C++

Task Write a program that replaces punctuation with whitespace, i.e., a space, as follows: consider punctuation characters as " (dot), (comma),"?' (question mark), - (dash), "" (single quote), you must not modify any characters within a pair of double quotes (including the double-quotes), and, you will need to disable the skipping of whitespace (on input) to make this program work properly, e.g., see https://en.cppreference.com/w/cpp/io/manip/skipws (but there are also other ways this can be done) You program must process all input from standard input (i.e., std::cin) and write all output to standard output (i.e. std::cout)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
