Computer Science, asked by ruhi4740, 4 months ago

please read full question and don't write follow or any other message please else I have to report the answer because from half an hour all are doing this

Write a program in bluej to buy pencils, copies, erasers at respectively prices(pencils=20,copies=100,erasers=50) and calculate the total amount of these items​ Please tell fast

AND YA THIS QUESTION IS NOT OF MATHS IT'S OF COMPUTER​

Answers

Answered by dakidhvanil11
1

Answer:

Given total cost of 5 pens and 10 pencil = Rs 30

5 pens + 10 pencils = 30

pens + 2 pencils = 1

also given pen cost 3 more than a pencil

i.e, pen = 3 + pencil.

pen - pencil = 3

pens + 2 pencils = 6

_______________

-3 pencils = -3

pencils = 1

pen - 1 = 3

pen = 4

cost of pencils = 1 cost of pen = 4

Answered by harshrawat1
5

Answer:

ye he apka answer ok mate

Attachments:
Similar questions