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
Get step-by-step solutions from verified subject matter experts
