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

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!