Question: Add the code that makes this work. If you're new to programming, this may challenge you. ( Hint: To find the smallest invoice total, use
Add the code that makes this work. If you're new to programming, this may challenge you. Hint: To find the smallest invoice total, use the Math.Min method to compare each invoice total to a variable that contains the smallest invoice total to that point. Then, replace the variable value with the smaller of the two invoice totals. To make this work for the first invoice, you can initialize this variable to a large number like the MaxValue member of the Decimal class.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
