Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem Description o Creates a 1-D character array named myName of size 10. o Asks the user to input his/her name and stores it in
Problem Description o Creates a 1-D character array named myName of size 10. o Asks the user to input his/her name and stores it in the created array" Note the name without any space". O Passes myName array to a function named getCharsCount, which finds and returns the number of characters in the name (Don't use any sting function). o Prints the name's characters (stored in the array) on multiple lines and shows, next to each character, whether the character is an uppercase character or not. Prints the ascii code of each char Sample Output Input your Name: Anasali Name contains 7 characters: Char Upper or Lower ASCII A 65 110 97 a Uppercase Lowercase Lowercase Lowercase Uppercase Lowercase Lowercase S A 115 65 108 105
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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