Capital or small check in C++ |
How to check the alphabet is capital or Small in c++ Program if you wanna check the character is small or capital you enter the in program so you can check after type is source code in your c++ program
Capital or small check in C++ |
#include<conio.h>
#include<stdio.h>
#include<ctype.h>
void main()
{
char x;
clrscr();
gotoxy(15,5);
printf("Enter Any Character Value");
x=getchat();
if(x>=65 && <=90)
{
gotoxy(15,7);
printf(" The valueYou are Entered is Capital value");
}
else
{ gotoxy(15,7);
printf(" The valueYou are Entered is Small value")
}
getch();
}
0 komentar:
Post a Comment