Computer Science, asked by MinakshiRanjan, 4 months ago

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 rdas9237
0

Explanation:

please help these sum

please BRAINLIST

Answered by annsarahjoy2008
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