How to add d to this? I have a,b,c only.
Because I tried many ways and with d it works wrong
and showing wrong highest number
i tried to add if(d>a)... but this was wrong too
if(a>b)
then if(a>c)
then max :=a
else max:=c
else if (b>c)
then max:=b
else max:=c
writeln('the highest is...',max);