Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You may not modify or change the main() or the method prototypes. You are only to implement the 4 necessary methods. You will want to

image text in transcribed

  • You may not modify or change the main() or the method prototypes.
  • You are only to implement the 4 necessary methods.
  • You will want to look for the '\0' character to find the ends of the strings.
  • You may want to think about using while loops instead of for loops for some of the methods.
  • Your methods may use each other if you find that helpful.
    • In fact, hint! you might find it easier to write the last one first....
  • DO NOT USE ANY STRING TOOLS, you must use the CSTRING ideas that we talked about in class for full credit.
    • Manipulate the char's and the array!

CS132 Mini - programming Assignment cStrings Complete the following program by writing the code for the 4 neccessary methods that are prototyped below. Do not make any changes to the main or the prototypes. For this assignment you may not use the string data type, Hint, you might want write the last method first so that you can use it in the 3rd method. * Good luck #include using namespace std; void uppercase_cString(char[]); void lower Case_cString(char[]); void reverse_cString(char[]); int find_len_cstring(char[]); int main() char a[] - "Hello World"; char bli - ('M','1','c', 'k', 'y','','M', 's', 'e','\0'}; char c] - "abcdefghijklmnopqrstuvwxyz"; char d[] = "ABCDE... VWXYZ"; char e[] - "This is a test \ OF THE END OF STRING CHARACTER"; cout

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

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions