Question: 9. Write a C program that converts an uppercase character to a lowercase character. Declare function char tolower(char ch); to do the conversion. If ch

9. Write a C program that converts an uppercase character to a lowercase character. Declare function char tolower(char ch); to do the conversion. If ch is not an uppercase character, the function should return ch unchanged. If it is an uppercase character, add the difference of ' a ' and ' A ' to ch as the return value. (a) Write your program with a global variable for the actual parameter. Translate your C program to Pep/9 assembly language. (b) Write your program with a local variable for the actual parameter. Translate your C program to Pep/9 assembly language
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
