Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write the code in C++: Task 2: Hard Code as independent Functions to simulate String Library. Do not use a class for this program.

Please write the code in C++:

image text in transcribed

image text in transcribed

Task 2: Hard Code as independent Functions to simulate String Library. Do not use a class for this program. DO NOT IMPORT #include or std:string User will input a string. length() Use a infinite for loop and output the length of a String input by the user. ***hint use static array as holder for char data type. Attach Snipping photos of source code and output. Isalpha Access to each character i need a loop Update to determine if individual characters in String are English Alphabetical Characters. Output the location of non-alphabetical character Output if String contains any non-alphabetic characters Attach Snipping photos of source code and output. Toupper Transform all alphabetical characters in a String to UpperCase characters * Attach Snipping photos of source code and output. Tolower Transform all alphabetical characters in a String to LowerCase characters Attach Snipping photos of source code and output. push_back- Allow the user to input a character to add to a string. Add character to the end of the String or after the last character. Attach Snipping photos of source code and output

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

=+28.1. Show that u. , & implies u(R1) Answered: 1 week ago

Answered: 1 week ago

Question

Describe the nature of negative messages.

Answered: 1 week ago