6. (Largest and Smallest Character) You are required to find the largest and smallest character of a string. Write a function called largestchar that receives a string and returns the largest...

6. (Largest and Smallest Character) You are required to find the largest and smallest character of a string. Write a function called largestchar that receives a string and returns the largest character (largest ASCII code). Convert all the characters to lowercase. Write a function called smallest Char that receives a string and returns the smallest character (smallest ASCII code). Convert all the characters to lowercase. Write a test program that inputs a string, uses largestChar and smallestChar to determine the largest and smallest characters respectively. Here is a sample run: Enter a string: Programming 'r' is largest character 'a' is smallest character Enter a string: You did not enter any string

May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here