REM TO PROGRAM TO CALCULATE DISCOUNT ON THE BASIS OF THE BILL AMOUNT REM IF AMOUNT<=200, DISCOUNT=0 REM IF AMOUNT>2000 AND <=5000, DISCOUNT=20% REM IF AMOUNT >500 AND<=8000, DISCOUNT=30% REM IF AMOUNT>8000, DISCOUNT=40%
Answers
Answered by
0
Explanation:
please help these sum
please BRAINLIST
Answered by
2
Explanation:
REM PROGRAM TO CALCULATTE 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
ELSEIF AMT > 2000 AND AMT <= 5000 THEN
DISCOUNT = 20% / 100 = AMT
ELSEIF AMT > 5000 AND AMT <= 8000 THEN
DISCOUNT = 0.3 = AMT
ELSE
DISCOUNT = 40 / 100 * AMT
END IF
LET TOTAL = AMT - DISCOUNT
PRINT "DISCOUNT"; DISCOUNT
PRINT "THE BILL AMOUNT IS"; TOTAL
END
HOPE THIS HELPS PLEASE MARK ME THE BRAINLIEST
Similar questions
Social Sciences,
2 months ago
Accountancy,
2 months ago
World Languages,
4 months ago
Math,
10 months ago
Biology,
10 months ago
Biology,
10 months ago