Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started