programming and visual basic

These are two different types of questions, these are not the same questions

The Some interest Credit Company provides loans to customers at 1.5 percent interest per month. Design an application that gets customer account data that includes an account number, customer name, and balance due. For each customer, display the account number and name; then display the customer's projected balance each month for the next 10 months. Assume that when the balance reaches $10 or less, the customer can pay off the account. At the beginning of every month, 1.5 percent interest is added to the balance, and then the customer makes a payment equal to 5 percent of the current balance. Assume the customer makes no new purchases.


Write a VISUAL BASIC program to accept numeral values of any unit, sum up the total, calculate the average, and then Output the result with a proper unit.
Requirements for processing:
(1) Tell user the purpose of the program
(2) Tell user how to stop entering data and calculate result
(3) Tell user enter the unit (such as mile, meter, pound, etc)
(4) then start a loop sequence by telling user enter value
(5) Display an end of program message

These questions relate to Programming and Design textbook

  1. 👍 0
  2. 👎 0
  3. 👁 92
asked by caree
  1. start
    num accountNum
    num balanceDue
    num month
    num paymentAmt
    string custName
    num PAY_RATE = 0.10
    get accountNum, custName, balanceDue
    while not eof
    print accountNum, custName
    month = 1
    paymentAmt = balanceDue * PAY_RATE
    while month <= 10
    balanceDue = balanceDue – paymentAmt
    print month, balanceDue
    month = month + 1
    endwhile
    get accountNum, custName, balanceDue
    endwhile
    stop

    1. 👍 0
    2. 👎 0
  2. If i'm not mistaken does the PAY_RATE must be equal to 0.15 rather than 0.10? I don't really understand, can you explain those?

    1. 👍 0
    2. 👎 0

Respond to this Question

First Name

Your Response

Similar Questions

  1. overview of teaching techniques

    how should students be grouped to best encourage learning? (a)according to same abilities (b)according to same attitudes (c)according to same interests (d)according to a common task (my answer) which of the following types of

    asked by susue on August 25, 2011
  2. Science

    Hi, I have two questions about biology I need help with. 1) Some questions fall outside the realm of science, which of the following questions could not be answered using the scientific method? A)What is the function of the

    asked by Jon on September 17, 2011
  3. AP World Civilizations

    I have to take cornell notes on each chapter of my book. Right now I am on chapter 8. The subject is African Civilizations and the Spread of Islam. I am having troubles coming up with questions to ask. Does anyone have any

    asked by Kiley on November 4, 2008
  4. Math(Factorial)

    A women student is to answer 10 out of 13 questions on a test. Find the number of choices where she must answer: (a) the first two questions; (b) the first or second questions but not both; (c) exactly 3 out of the first 5

    asked by Anonymous on April 9, 2014
  5. Algebra

    A test consist of 15 multiple choice questions, 12 true-false questions and 10 fill in the bland questions. you got 8 questions wrong. what percent of the answers were correct?

    asked by Kevin on May 8, 2013
  6. Criminology/Sociology

    My instructor wants me to prepare 15 questions to use to interview a fellow student with so that he can show us how to build a profile on a person based on the answers to the questions. When I asked what type of questions, he said

    asked by Lynda on September 14, 2008
  7. Combination

    In a question paper there are two parts A and B . Part A contains 6 questions and part B contains 7 questions . in how many ways a student can select 4 questions in part A of which 2 questions are compulsory and 5 questions in

    asked by Venkatesh on March 23, 2016
  8. Algebra

    An algebra teacher is writing a test. There will be two types of questions: multiple-choice and open-ended. The multiple-choice questions take 3 minutes to complete and the open-ended questions take 12 minutes to complete. There

    asked by Charlie on September 8, 2015
  9. Maths

    A class test consists of 4 Algebra questions,W ,X,Y and Z, and 3 Geometry questions,A,B,C and D.The teacher decides that the questions should be arranged in two sections.Algebra followed by Geometry,with questions in each section

    asked by Raj on October 7, 2019
  10. Maths

    a/A class test consists of 4 Algebra questions,W ,X,Y and Z, and 3 Geometry questions,A,B,C and D.The teacher decides that the questions should be arranged in two sections.Algebra followed by Geometry,with questions in each

    asked by Raj on October 7, 2019
  11. Maths

    A class test consists of 4 Algebra questions,W ,X,Y and Z, and 4 Geometry questions,A,B,C and D.The teacher decides that the questions should be arranged in two sections.Algebra followed by Geometry,with questions in each section

    asked by Raj on October 7, 2019

More Similar Questions