How do I use the input statement to test my elseif code.
Here is my code:
if y<10000 t=200;elseif 10000<y<20000 t=200+0.1*(y-10000);elseif 20000<y<50000 t=1200+0.15*(y-20000);elseif y>50000 t=5700+0.25*(y-50000);end
thanks for the help
Best Answer