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
2
Answer:
you will write Q basic value
Answered by
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
English,
4 months ago
Math,
4 months ago
Social Sciences,
8 months ago
Computer Science,
8 months ago