new to programing need help!!
Hellif o,
This is probably a simple fix for the experienced programer,
I am trying to have the user input three letters of his choice and then out put those letters in reverse order.
This is what I have so far:
Code:
//A program that prints out the letters in reverse of the users input
#include<iostream>
using namespace std;
int main()
{
char ABC;
char reverse;
char letters;
char CBA;
//tells the user what is going to happen
cout<<"This program will reverse the three letters you input\n";
cout<<"Please enter three letters====>ABC\n";
cin>>letters;
reverse=CBA;
cout<<"Here are the letters in reverse<<CBA\n";
return 0;
}
As you can see I am a real beginner.
Thank in advance