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...


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).



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here