c++ You are working for a software firm that developped a word processor. A common error users often make is that they forget the caps locks on and print text like this: ”tHIS IS A SAMPLE of an error”, this usually happens at the beginning of a new sentence(i.e. right afer a dot or in a new line). Write a program to detect this error and fix it. The input will be a long string on keyboard.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter7: User-defined Simple Data Types, Namespaces, And The String Type
Section: Chapter Questions
Problem 3PE
icon
Related questions
Question

c++

You are working for a software firm that developped a word processor. A common error users often make is that they forget the caps locks on and print text like this: ”tHIS IS A SAMPLE of an error”, this usually happens at the beginning of a new sentence(i.e. right afer a dot or in a new line). Write a program to detect this error and fix it. The input will be a long string on keyboard.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT