how to do this on looping statement

Make a c++ program that will ask the user to input an alphabet character then will display the rest of the character taking user's input as its input value

Ex. Enter a small letter: (ie.r)
Output: r,s,t,u,v,w,x,y,z
Ex. Enter a small letter: (ie.c)
Output: c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z

this is all i have:

#include <iostream.h>
int main ()
{
char letter;
cout<< "\n"<<"enter a small letter: ";

cin>>letter;
{
cout<<"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,b,w,x,y,z"<<endl;
}
}
Last edited on
Topic archived. No new replies allowed.