Write a C program to read an English Alphabet through keyboard and display whetherthe given alphabet is in upper case or lower case.
Question
Solution 1
Sure, here is a simple C program that reads an English alphabet from the keyboard and displays whether the given alphabet is in upper case or lower case.
#include <stdio.h>
int main()
{
char ch;
printf("Enter a character: ");
scanf("%c", &ch);
if(ch >= 'A' && ch <= 'Z')
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study prob
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solv
Similar Questions
Write a C program to read an English Alphabet through keyboard and display whetherthe given alphabet is in upper case or lower case.
Write a program to check whether a given character is Alphabet or not using if else statement Note: Check for both upper and lower case characters
Write a C program to read a sentence through keyboard and to display the count ofwhite spaces in the given sentence.
Write a C program to check whether an alphabet is vowel or consonant using switch case
Write an program in C/C++, to read an expression in Inform and Display the same in Pofstfix Form