|just basic concepts, but you'll get the hang:|
var assignment always involves placing the var. name on the left of the assignment (C, and most other langs it's "=", in pascal its ":=")
doesn't do anything (or not that i can tell). All your var. assignments need be like:
or (in C and some others:)
but C will let you do it the "traditional" way as well (level=level+1)
and i don't know what this does or is supposed to do or doesn't do:
if ( INPUTTEDNUMBER == ( 1,2,3,4,5 ) )
i thought it was someting i didn't know about in C and took it to mean: if number is 1 or 2 or 3 or 4 or 5...
but that didn't seem to work (i had to try it because i'm also very new at C, just breaking the ice so to speak)
So i'm clueless what you meant by that program-statement.
Also, the power level, which i would assume to be a multiplier for the EXP, never gets upgraded with level-up, but i'm not clear enough about your game concept to know what you intended.
good start though, didn't generate a single compiler error, unlike my first several feeb attempts which usually didn't get past line 2 before blowing up.
(oops, crossed in the mail, sorry Judago!)