var mark : int
put "Enter a mark" ..
get mark
if mark >= 80 then
put mark, " is a level 4"
elsif mark >= 70 then
put mark, " is a level 3"
elsif mark >= 60 then
put mark, " is a level 2"
elsif mark >= 50 then
put mark, " is a level 1"
else
put mark, " is a failure"
end if
var weight:real
put "What is your weight?"
get weight
if weight >=151 then
put weight, " is a heavyweight category."
elsif weight >=101 then
put weight, " is a middleweight."
elsif weight >=51 then
put weight, " is a lightweight."
elsif weight >=50 then
put weight, " is a featherweight."
else
put weight, " is unnacceptable."
end if