Provide a pseudocode and a flow chart for an application for Domicile Designs that gets sales transaction data, including an account number, customer name, and purchase price. The store charges 1.25 percent interest on the balance due each month. Output the account number and name, then output the customer’s projected balance each month for the next 12 months. Assume that when the balance reaches $25 or less, the customer can pay off the account. At the beginning of every month, 1.25 percent interest is added to the balance, and then the customer makes a payment equal to 7 percent of the current balance. Assume that the customer makes no new purchases.

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter5: The Repetition Structure
Section: Chapter Questions
Problem 14E
icon
Related questions
Question

 

Provide a pseudocode and a flow chart for an application for Domicile Designs that gets sales transaction data, including an account number, customer name, and purchase price. The store charges 1.25 percent interest on the balance due each month. Output the account number and name, then output the customer’s projected balance each month for the next 12 months. Assume that when the balance reaches $25 or less, the customer can pay off the account. At the beginning of every month, 1.25 percent interest is added to the balance, and then the customer makes a payment equal to 7 percent of the current balance. Assume that the customer makes no new purchases. The application should execute continuously for any number of customers until a sentinel value is supplied for the account number.

Flowchart              

 

   

START

    num account
    string name
    num s
    num charges = 0.0125
    num balance
    balance = price
    i = 1
    
    
    InputDetails()
    
    OutputDetails()

STOP


InputDeatils()
    output "ENTER ACCOUNT NUMBER"
    input account_number
    output"Enter purchase price"
    input price
    output "Enter customer name"
    input name 
    return

    checkBalance()

    if balance  == 25 OR balance<25  
     output "customer can pay off the account"

    
    else
        if balance>25 then
            balance=balance + balance * charges
    
    end if

    return 


calculate_Balance()
    balance = balance + balance * 0.07
    return 

 OutputDetails()
    output "ACCOUNT NUMBER:" ,account_number
    output " CUSTOMER NAME:" ,name

 

while i <= 12
    calculate_Balance()
    checkBalance()
    output " PROJECTED BALANCE IS:", balance
    i = i + 1
    end while
    return

    

 

 

 

 

 

 

 

Expert Solution
steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Knowledge Booster
Structure chart
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning