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
Math,
3 months ago
Science,
3 months ago
Math,
3 months ago
Social Sciences,
7 months ago
Computer Science,
7 months ago
Biology,
11 months ago
Chemistry,
11 months ago