Asked by damilous

WRITE OUTPUT OF THE SEGMENT PROGRAMS BELOW
2 READ score
4 DATA 60
6 IF score <= 49 THEN
8 PRINT "you have failed"
10 ELAE IF score >= 50 AND score<=59 THEN
12 PRINT " you have C"
14 ELSE IF score >=60 and score <=69 THEN
16 PRINT "you have B"
18 ELAE
20 PRINT " you have A"
22 end

Answers

Answered by oobleck
well, you misspelled ELSE twice
and, only statement 14 takes effect, since 60 >= 60

again, just run your program to find errors and see results.
Answered by damilous
pls any website to run this online, i had problem with my system
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions