Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write cprogram that declares a character array called CHARS of size 100. Declare

ID: 1931463 • Letter: W

Question

Write cprogram that declares a character array called CHARS of size 100. Declare another two character arrays called UPPERCASE and LOWERCASE. Get characters from the user and save the characters in CHARS until the user enters the character #. Print the CHARS array to the screen in one line. Then iterate over CHARS, and put the uppercase character into array UPPERCASE and put the lowercase character into array LOWERCASE. Note the first uppercase character appeared in CHARS should be the first element of UPPERCASE. Print the UPPERCASE in one line, and then print the LOWERCASE in another line.
For example, if CHARS is AckeLo
You should have UPPCASE: AL, and LOWERCASE: ckeo

Explanation / Answer

#include int main() { char CHARS[100],UPPERCASE[100],LOWERCASE[100]; char c; scanf("%c",&c); int i=0,j=0,k=0,x; while(c!='#'&& i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote