1. Write a program that accepts a character from the keyboard and prints whether the character is alphabetic, numeric or neither. The program should also print whether the character is lower or uppercase. (HINT: Use the %c specifi er of scanf.)
2. Write a program that accepts an integer from the user and prints “Odd” or “Even” without using the if and switch statements.
3. Write a program using switch that accepts an integer between 1 and 7 and prints whether the number represents a weekend (Saturday or Sunday) or not (Sunday = 1).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here