Computer Science, asked by Muzamilhassan6856, 8 months ago

Write a program in QBASIC to input cost price and sell price of an item and check it is profit, loss or they are equal

Answers

Answered by shahfizza968
2

Answer:

you will write Q basic value

Answered by suwansuwal
0

Answer:

Cls

Input "enter cost price"; cp    

Input "enter sell price"; sp

profit = sp - cp

Print profit

End

Cls

Input "enter cost price"; cp  

Input "enter sell price"; sp

loss = cp - sp

Print loss

End

Explanation:

Similar questions