Lab 3 Visio Part 3

Lab 3 Visio Part 3 - Numeric Discount Numeric...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Start Declare Variables …OrderCalculator objOrderCalculator …Numeric TotalAfterDiscount Get …OrderAmount …SalesTaxPercent TotalAfterDiscount=objOrderCalculator. GetTotalAfterDiscount Display TotalAfterDiscount Stop Numeric GetTotalAfterDiscount() Declare Variables
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Numeric Discount Numeric TotalAfterDiscount Get Discount If OrderAmount >100 Discount = 0.10 Else Discount = 0 TotalAfterDiscount=(OrderAmount-OrderAmount*Discount)*(1+SalesTaxPercent) Return TotalAfterDiscount...
View Full Document

Ask a homework question - tutors are online