Computer Science, asked by dhrubojyotinath1405, 5 days ago

Q★→The rate of petrol is ₹47.60 per litre. You paid ₹250 to the pump attendant and asked for 5 litres of petrol to be filled in the tank. Write a program in QBASIC to calculate the cost of petrol and the amount of money refunded.←★Q





Book name:- APC Understanding Computer Studies Class 6

Author:- Vijay Kumar Pandey & Dilip Kumar Dey

Chaptar name:- Fundamentals of QBASIC: A programming language (Part III: Commands and Statements)

Question details:- Part III: Commands and Statements Exercise, Subjective, VI) Home Assignment, Q-3.

Please solve, it will help me a lot and I will mark you as brainliest if the answer is correct​

Answers

Answered by shivadh
0

Answer:

Cls

Let RATE = 47.6

Let COST = 5 * RATE

Let PAID = 250

Let REFUND = PAID - COST

Print "MONEY REFUNDED = Rs. "; REFUND

END

OUTPUT

MONEY REFUNDED = Rs. 12

HOPE IT WILL HELP YOU !!!

PLEASE MARK ME AS BRAINLIEST !!!

Similar questions