Searching...
Tuesday 21 August 2018

Capital or Small Character in C++ With Coding




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++ 
i will you in this image you can impliment your code and create your simple program 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