Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

how do i implement this using an array? (C++) Program Assignment: Have you notice when you use some editors or word processors, it automatically formats

image text in transcribed
how do i implement this using an array?
(C++)
Program Assignment: Have you notice when you use some editors or word processors, it automatically formats your document as you type. For example, with word if you are doing a bulleted list and hit return it will automatically place your cursor at the right location to begin typing. For program #2, we will implement a simplified version of an editor that will allow the user to enter in a few paragraphs of text and based on that it will display it formatted in a easy to read format. It will follow these rules: 1. The first word of each paragraph will be automatically indented by a tab 2. Two spaces will always occur after every period, exclamation mark, or question mark regardless of what the user types in 3. The first letter of the paragraph will be capitalized 4. The first letter of each sentence will be capitalized 5. At the end make sure to display the number of characters and words in the text. Allow the user to enter in a text ending with a # sign to complete the entire process. A sentence is to be no more than 130 characters and a paragraph no more than 300 characters

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions