fill in the blanks (QBasic)
rem program to calculate the discount on the basis of bill amount
rem if amount <=2000, discount = 0
rem if amount>2000 and <=5000, discount=20%
rem if amount>5000 and <=8000, discount = 30%
rem if amount >8000, discount = 40%
cls
input "enter bill amount"; AMT
if amt <=2000 then discount = 0
_____________
_____________
_____________
discount = 0.3 *amt
else
____________
endif
____________
print "the bill amount is";total
end
Answers
Answered by
0
Answer:
1900
Explanation:
I hope it will help u
Similar questions