Advertisement
akosiraff

Credit Checker Application

Apr 13th, 2014
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/credit-checker-application/
  3. (Credit Checker Application) Develop an application (as shown
  4. Resolved Question:
  5. (Credit Checker Application) Develop an application (as shown in Fig. 4.24) that determines whether a department-store customer has exceeded the credit limit on a charge account. Each customer enters an account number (an Integer), a balance at the beginning of the month (a Double), the total of all items charged this month (a Double), the total of all credits applied to the customer’s account this month (a Double), and the customer’s allowed credit limit (a Double). The application should input each of these facts, calculate the new balance (= beginning balance – credits + charges), display the new balance and determine whether the new balance exceeds the customer’s credit limit. You can use the format “{0:C}” with String method Format, to format the result as currency (see Fig. 4.24). If the customer’s credit limit is exceeded, display a message (in messageLabel at the bottom of the Form) informing the customer of this fact; otherwise, display the customer’s remaining credit amount. If the user presses the Clear Fields Button, the application should clear the TextBoxes and Labels. [Note: In the next chapter, we'll introduce the data type Decimal for financial calculations.]
  6. Download: http://solutionzip.com/downloads/credit-checker-application/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement