The No Interest Credit Company provides zero-interest loans to customers. Design an application that gets customer account data, including an account number, customer name, and balance due. Output the account number and name, then output the customer's projected balance each month for the next 10 months. Assume that there is no finance charge on this account, that the customer makes no new purchases, and that the customer pays off the balance with equal monthly payments, which are 10 percent of the original bill.

Here's a nice little perl program. I'm sure you can modify it for the language of your choice.

#pay off a loan in 10 equal payments, except for possibly the last, due to roundoff.
print "Customer name: "; my $name = <STDIN>; chomp $name;
print "Account Number: "; my $account = <STDIN>; chomp $account;
print "Balance: \$"; my $balance = <STDIN>; chomp $balance;

my $n = 10;
my $payment = $balance*(1.0/$n);
# round payment up to nearest cent, to ensure payoff in 10 payments.
$payment = int($payment*1000);
$payment+=10 if $payment%10 != 0;
$payment = int($payment/10) * 0.01;

print "\n\nAccount Number: $account\n";
print "Customer Name: $name\n";
printf "Balance: \$%4.2f\n",$balance;
printf "Payment: \$%4.2f\n",$payment;

print "Pmt Balance\n";
my $bal = $balance;
for (my $i = 1; $i < $n ; $i++) {
$bal -= $payment;
printf "%2d %8.2f\n",$i,$bal;
}
printf "%2d %8.2f\n",$n,0;

OUTPUT IS BELOW

Customer name: Bull Durham
Account Number: 18971AC
Balance: $12434.72

Account Number: 18971AC
Customer Name: Bull Durham
Balance: $12434.72
Payment: $1243.48
Pmt Balance
1 11191.24
2 9947.76
3 8704.28
4 7460.80
5 6217.32
6 4973.84
7 3730.36
8 2486.88
9 1243.40
10 0.00

To design an application that gets customer account data, calculates projected balance, and outputs the results, you can use the following steps:

1. Create a data structure or class to hold account details, including account number (integer), customer name (string), and balance due (float).

2. Prompt the user to input the account number, customer name, and balance due for each customer. You can use the input() function to accept user input.

3. Create a function to calculate the projected balance for each month based on the initial balance and monthly payment of 10% of the original bill. This function should take the initial balance as input and return a list or array of projected balances for each month.

4. Iterate over the list of customer account data and calculate the projected balances for each customer using the function from step 3.

5. Output the account number, customer name, and projected balance for each month for the next 10 months. You can use the print() function to display the results.

Here's an example implementation in Python:

```python
class CustomerAccount:
def __init__(self, account_number, customer_name, balance_due):
self.account_number = account_number
self.customer_name = customer_name
self.balance_due = balance_due

def calculate_projected_balances(initial_balance):
monthly_payment = initial_balance * 0.1
projected_balances = []

for month in range(10):
projected_balance = initial_balance - (month * monthly_payment)
projected_balances.append(projected_balance)

return projected_balances

# Prompt user input for customer account data
account_number = int(input("Enter account number: "))
customer_name = input("Enter customer name: ")
balance_due = float(input("Enter balance due: "))

# Create customer account object
customer_account = CustomerAccount(account_number, customer_name, balance_due)

# Calculate projected balances
projected_balances = calculate_projected_balances(balance_due)

# Output results
print("Account Number:", customer_account.account_number)
print("Customer Name:", customer_account.customer_name)

for month, balance in enumerate(projected_balances):
print(f"Month {month+1} Balance: {balance}")
```

This application allows you to input customer account data, calculates projected balances for the next 10 months based on a 10% monthly payment of the original bill, and outputs the results.