////////////Program Created By C++ Programming//////////////// #include<iostream.h> #include<ctype.h> #include<conio.h> typedef char str80[80]; void main() { clrscr(); char *notes; str80 str="vR2GooD"; int L=6; notes=str; while (L>=3) { str[L]=(isupper(str[L])?tolower(str[L]):toupper(str[L])); cout<<notes<<endl; L--; notes++; getch(); }};; OUTPUT vR2Good R2Good 2GoOd gOOd
Learn C++ Programming fast and easy, find C++ Program Codes