(Credit Checker Application) Develop an application (as shown Resolved Question: (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.]

The task at hand is to develop a Credit Checker Application that determines whether a department-store customer has exceeded their credit limit on a charge account. The application will take in several inputs from the customer, namely their account number (an Integer), their 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).

Once these facts are inputted, the application should calculate the new balance. This can be done by subtracting the credits from the beginning balance and adding the charges. The new balance should then be displayed to the customer. Additionally, the application should determine whether the new balance exceeds the customer’s credit limit.

To format the new balance as currency, the String method Format can be utilized. The format “{0:C}” can be used for this purpose. This will display the result in the currency format mentioned in Figure 4.24.

If the new balance exceeds the customer’s credit limit, the application should display a message in the messageLabel at the bottom of the Form, informing the customer of this fact. On the other hand, if the new balance does not exceed the credit limit, the application should display the customer’s remaining credit amount.

Furthermore, the application should have a Clear Fields Button. If the user presses this button, the application should clear all the TextBoxes and Labels.

It is worth noting that in the next chapter, the data type Decimal will be introduced for financial calculations. This may provide a more accurate and precise representation for financial calculations in the application.

In summary, the Credit Checker Application is expected to perform the following tasks:

1. Take inputs from the customer: account number, beginning balance, total charges, total credits, and credit limit.
2. Calculate the new balance by subtracting credits from the beginning balance and adding charges.
3. Format the new balance as currency using the String method Format.
4. Display the new balance to the customer.
5. Determine whether the new balance exceeds the credit limit.
6. Display a message in the messageLabel if the credit limit is exceeded, or display the customer’s remaining credit amount if it is not.
7. Provide a Clear Fields Button to clear all the TextBoxes and Labels in the application.

By implementing these functionalities, the Credit Checker Application will allow department-store customers to easily monitor their credit usage and ensure they stay within their credit limit.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer