0

I have an assignment Write an encryption program to read in last name and convert letters of last name into the next letter of alphabet can anyone tell me if what i have is correct or almost correct

#include<iostream.h>
voidmain()
{
float turner, char
cin>>Turner;
cout<<Turner;
char t='u';
char u='v';
char r='s';
char n='o';
char e='f';
char r='s';
cout<<endl;
}

:?: :rolleyes: :?: ;) :?: :-| :?: :sad:
I know its probably wrong help me pleaase......I feel so dumb....:rolleyes:

3
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by WaltP
1

>can anyone tell me if what i have is correct or almost correct
Not to hurt your feelings, but it's not even remotely close. This is a case where I'll recommend that you sit down with your teacher and get some face to face help. It would save us both some time. :)

Votes + Comments
Well said. --joeprogrammer
0

Does it seem to work when you compiled it? ;) That's your first test. Narue is correct.

Every character is simply a number that displays as a character. For example 'A' is 65, 'B' is 66, so they can be treated as numbers.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.