Question: Write a program that adheres to the following specifications: -Use a single Method to named: printString(const char *st1) -Print the String forwards 1 character at
Write a program that adheres to the following specifications:
-Use a single Method to named: printString(const char *st1)
-Print the String forwards 1 character at a time, in the same line.
-Print all the odd characters, 1 at a time backwards
-Print the total length of the string."
-Write a Loop to initialize a char upperAphabet [100] with all the uppercase characters (hint use the ASCII table).
-Write a Loop to initialize a char lowerAplahbet[100] with all the lower case characters (hint use the ASCII table).
-Use uppAlphabet and lowerAlpha bet when using the printString(const char *str1) method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
