Question
Using C Write a program that takes a single character from the user, and tells the user if its in the first half of the
Using C
Write a program that takes a single character from the user, and tells the user if its in the first half of the alphabet (A-K) or in the second half (L-Z). It should accept both upper-case and lower-case inputs. If the user enters any non-alphabetical character, the program should respond appropriately. Your program should function like the below: 1> charValidator Please enter a character: f f is in the first half of the alphabet 2> charValidator Please enter a character: P P is in the second half of the alphabet 3> charValidator Please enter a character: A A is in the first half of the alphabet 4> charValidator Please enter a character: $ $ is not an alphabetical character
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