program discount

program discount;
var
x:integer

begin
writeln('what is the total cots of your 3 items');
readln(x)
if (x<100) then
writeln('you get no discount');
if(x>100) and (x<150) then
writeln ('you get a 10% discount');
if (x>150) and (x<200) then
writeln('you get a 20% discount');
if (x>200) and (x<250) then
writeln('you get a 25% discount')
if (x>250) then
writeln ('you get a 30% discount');
readln;

end.