Back To C++ Flow of Control Index
//program to change case of character example converting a to A example of if-else statement #include
#include
void main() { char ch; clrscr(); cout<<"enter a character"; cin>>ch; if((ch>=65) && (ch<=97)) { ch=ch-32; } else { ch=ch+32; } cout<