0 Members and 1 Guest are viewing this topic.
Prompt I,Nsum({I,N}={2,1→I"NRMLIf not(I"WEIRDIf I=1"ALMST "+AnsAns
Does it need to ask specifically for eyes and noses? Or can it just be something like Prompt I,N?54 bytesCode: [Select]Prompt I,Nsum({I,N}={2,1→I"NRMLIf not(I"WEIRDIf I=1"ALMST "+AnsPause Ans
Prompt I,Nsum({I,N}={2,1→I"NRMLIf not(I"WEIRDIf I=1"ALMST "+AnsPause Ans
:Prompt I,N:sum({I,N}={2,1→I:"NRML:If not(I:"WEIRD:If I=1:"ALMST "+Ans:Ans
New challenge : make a base converter from most base possible to most base possible less than 300 bytes (my program got 200 bytes for 36 bases).
TI-Basic sure, gtranslate say : you must make a base converter (eg binary to hex ,...) with a maximum of base compatibility (less 300 bytes).EDIT : need minimum 10 bases compatibility.
ClrHomeInput "BASE1:",BInput "BASE2:",CInput "NUMBER:",Str1DelVar D"0123456789ABCDEFGHIJKLMNOPQRSTUV→Str2length(Str1→EFor(A,1,ED+B^(E-A)(-1+inString(Str2,sub(Str1,A,1→DEndiPart(log(D)/log(CAns-not(not(fPart(Ans→BFor(A,0,BD/C^(B-A→DStr1+sub(Str2,iPart(Ans+1),1→Str1C^(B-A)fPart(D→DEndsub(Str1,E+1,B+1
:Prompt E,N:If E=2 and N=1:Disp "NRML:If E != 2 or N!=1:Then:If E=2 or N=1:Then:Disp "ALMST NRML:Else:Disp "WEIRD