Daily programming challenge #3

in #programming8 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