Jump to content

Penney's game: Difference between revisions

m
Line 160:
 
#define Getauppercharinto(_X_) Getchar(_X_),Let( _X_ := Ucase(_X_) )
#define Isnotvalidin(_X_) Not( Occurs in (_X_) )
#define NOELIGEPCDESPUESDETI 0
#define ELIGEPCDESPUESDETI 1
Line 229 ⟶ 230:
Loop
Get a upper char into 'c'
Continue if ( var(c) Not(Is Occursnot valid in ("HT") ))
Let( P:=Cat(P,c) )
Loccol(13), Printnl(P)
543

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.