I am making a prog to accept a character and display four successive characters. At present i am able to accept and display all the characters after the entered character. Pls help :) Thanx in advance.
// Just Rahul Prog-7
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
char a;
cout<<"Enter a charcter=";
cin>>a;
cout<<"Successive four charcters are=";
for(;a++;a<=4)
{
cout<<a<<",";
}
getch();
}