START
- Prompt for sellingPrice
- Get sellingPrice
- Prompt for costPrice
- Get costPrice
- If sellingPrice < costPrice then write 'loss was made'
- If else sellingPrice > costPrice then difference amount = sellingPrice - costPrice
- Get difference amount
- Financial return percentage = difference amount ÷ costPrice × 100
End if
- Display financial return percentage
END
Desk check
sellingPrice = N$ 9000
costPrice = N$ 3000
Deference amount = N$ 6000
Financial return percentage = 200% expect output.
START
- Prompt for sellingPrice
- sellingPrice = N$ 9000
- Prompt for costPrice
- costPrice = N$ 3000
5 If sellingPrice < costPrice then write 'loss was made'
- If else sellingPrice > costPrice then difference amount = N$ 9000 - N$ 3000
- Get difference amount = N$ 6000
- Financial return percentage = N$ 6000 ÷ N$ 3000 × 100
End if
- Display financial return percentage = 200%
END
START
End if
END
Desk check
sellingPrice = N$ 9000
costPrice = N$ 3000
Deference amount = N$ 6000
Financial return percentage = 200% expect output.
START
5 If sellingPrice < costPrice then write 'loss was made'
End if
END