Daily programming challenge #3

in programming •  8 years ago  (edited)

Difficulty: easy-medium

Write a programm, which scrambles up a word and asks the other user to input the correct word.

Example:
INPUT:
Hello
OUTPUT:
leHol
INPUT:
Holle
OUTPUT:
Wrong
INPUT:
Hello
OUTPUT:
Correct!!

Extensions:
EX1: save the word to a textfile.

EX2: give an option for singleplayer, by reading the words out of the textfile generated in EX1

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!