(Solved):Use IF/ELSE statements and proper indentations in Structured English to write the logic for a method called “ProcessPayment” for buying construction materials. There is no looping. Use this scenari… View Answer…

 

Question

Use IF/ELSE statements and proper indentations in Structured English to write the logic for a method called “ProcessPayment” for buying construction materials. There is no looping. Use this scenario in your logic: A buyer can pay immediately or be billed. If paid immediately, then a 5% discount is applied. If billed, then a 2% discount is applied if it is paid in 30 days. Otherwise a 3% surcharge is added

Scroll to top