IF ChallengerScore > ChampionScore
THEN
IF ChallengerScore > HighestScore
THEN
OUTPUT ChallengerName, " is champion and highest scorer"
ELSE
OUTPUT Player1Name, "is the new champion"
ENDIF
ELSE
OUTPUT ChampionName, "is still the champion"
IF ChampionScore > HighestScore
THEN
OUTPUT ChampionName, "is also the highest scorer"
ENDIF
ENDIF
No comments:
Post a Comment