Question: TIP: You can start the script with a request for input from the user ( using input ) , to quickly test your code for

TIP: You can start the script with a request for input from the user (using input), to quickly test your code for various cases.
3.(5%) Explain why the following if-block would not be a correct solution to this exercise
% if y10000
%,t=200
% elseif t=200+0.1**(y-10000)%t:1200+0.15**(y-20000)%y>50000%,t=5700+0.25**(y-50000)%20000
t:1200+0.15**(y-20000)
% elseif y>50000
%,t=5700+0.25**(y-50000)
% end10000
t=200+0.1**(y-10000)
% elseif 20000
t:1200+0.15**(y-20000)
% elseif y>50000
%,t=5700+0.25**(y-50000)
% end
 TIP: You can start the script with a request for input

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!