cer epee eters
su
TASK.12.03
Arews kas akus service where sassenge’s under ine aue of 12 and over cheage:
need topey s fave. Write the ogi atacernents o° Irae Fares
650do not
ana gone folows different
descript‘on of she algori¢am
ps depencing or cartain cond tiene, Herel
+The slayer rps # nurrbe” to guess tre secserno moe: stored
+ Pthe guesswascoreet, output 2 congalul:
rs message.
+ Fthe number input ret umber is
seller
+ Fthe number input wesarmalie thor the secret nunrber, oulpal messige "secret namie
is prexcer
‘We can ro-erits the number guessing game ste3s as at algorithm in-sirueturec Coglish:
TEN
QUISUT "acl done. You have guessed the secret. rumbe:
Guens > Secrerthumber
CHET
OUTPST fuveret aunber i anaclest
nee
OUTPUT "aeoret nurber 12 geeatee™
eM
Horecomalex
by usitgthe logical aperatars AND, Of 2d NCT. For
he rurioe guessing game igit allow (he player inulipe guesses; ifthe olayer
has not guessed the-secret number ater 19 guesses, a different message sauloul.
example,
TF Gress - Seerecmunber
THK
GOPPI2 Well done, You have guessed Ue secret number"
QUEPOD "Yow abil’ hava nob ah
wadiehin pesviek ace
4s Guess > SecvetNumber
CUTDOT Tae eecret munner in emsller!
Lee
ouLeyY “Ike
b murber is greater"
=xDIF
ENnTP