#include<iostream.h>
#include<conio.h>
#include<conio.h>
void main()
{
clrscr();
char ch;
cout<<“Enter any Alphabet:”;
cin>>ch;
if(ch>=’a’&&ch<=’z’)
{
cout<<“ntYou have entered a lowercase alphabet”;
ch=ch-32;
cout<<“nnThe uppercase alphabet is “<<ch;
}
else
{
cout<<“ntYou have entered an Uppercase alphabet”;
ch=ch+32;
cout<<“nnThe lowercase alphabet is “<<ch;
}
getch();
}
Thanks, it's working.
btw it is not 'Alphabate' it is 'Alphabet'
😀
Hello Nikhil,
I have done the changes, thanks a lot for informing me.
THANK YOU SO MUCH!
IT IS VERY HELPFUL 🙂
hi neeraj if u upload the output of this program then….
Write a program that take a 10 letter word and remove letter x ( one or more ) if it is found anywhere in the word. For example, if I write Texonomyte it will convert it and display like
Te onomyte.
(if, char data type )
then contact me at my whatsapp 0324-4944022.
#include
#define loop(i,n)for(int i=0;i>word[i];
if(word[i] == ‘x’ || word[i] == ‘X’){
cout<<" ";
}
else{
cout<<word[i];
}
}
return 0;
}
if there are more words then one words and “space are between” the words than this program just convert the first alphabet but i want to convert more then one alphabets.