Question: 1. Create a function letterCounter() that takes a character array input and returns the number of uppercase characters and lowercase characters that are found in

 1. Create a function letterCounter() that takes a character array input

1. Create a function letterCounter() that takes a character array input and returns the number of uppercase characters and lowercase characters that are found in the character array as two seperate outputs: numCaps, numLower. DO NOT assume charArrayIn contains only letters. Hint: Check the reference sheet for functions that can help determine if a character is upper or lower case. The function header and an Texample run are provided below. function (numUpper, numLower] = letter Counter (charArrayIn) Determines the number of upper and lower case letters in the input char farray Inputs: charArrayIn - character array containing upper and lower case %letters *Outputs: numUpper- number of uppercase letters in charArrayIn numLower- number of lowercase letters in charArrayIn

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!