IT

9. Draw the flowchart or write the pseudocode for an application that allows a user to enter an automobile loan balance. Assume that the user pays 1/36 of the balance each month, and display the new balance after one month and after two months

  1. 👍
  2. 👎
  3. 👁
  1. print "enter balance"
    read balance
    payment = balance/36

    balance = balance-payment
    print balance
    balance = balance-payment
    print balance

    You probably will want to add some text to indicate what the printed numbers mean, but that wasn't stated in the assignment above.

    Extra Credit:
    I assumed that the user pays 1/36 of the original balance each month. What if he paid 1/36 of the new, remaining balance each month?

    1. 👍
    2. 👎

Respond to this Question

First Name

Your Response

Similar Questions

  1. computer

    draw a flowchart and write the algorithm for printing the first 10 even numbers

  2. Pseudocode

    Write an algorithm and pseudocode that represents a program that allows a user to enter two numbers. Your program should calculate the sum, difference (both directions), product, and quotient (both directions) of the two numbers.

  3. Programming

    Write a pseudocode to represent the logic of a program that allows a user to enter an hourly pay rate and hours worked. The program outputs the user's gross pay

  4. Computer

    How to write algorithm and draw flowchart for finding the sum of first ten even numbers?

  1. Programming

    Draw a flowchart or write pseudo code to represent the logic of a program that allows the user to enter values for the current year and the user’s birth year. The program outputs the age of the user this year. Preferably a

  2. Cmin

    Draw a flowchart and write pseudocode to represent the logic of a program that allows the user to enter two values. The program outputs the sum of and the difference between the two values.

  3. CIS

    Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter a value. The program multiplies the value by 10 and outputs the result.

  4. programming

    how do I write a pseudocode to find and display the largest list of positive numbers entered by the user. The user should indicate that he/she has finished entering numbers by enter a

  1. Ic

    Write an application that prompts the user for two integers and then prompts the user to enter an option as follows: 1 to add the two integers, 2 to subtract the second integer from the first, 3 to multiply the integers, and 4 to

  2. Computer

    draw a flowchart for calculating the average percentage marks of 50 students each student appeared in 10 subject the flowchart of students in should show the counting of the number of students who have appeared in the examination

  3. C++

    // Program: name of program // Author: your name // Date Written: date you began writing the program /* Abstract: Brief description of the program */ Include in-line comments in the body of your program. You can convert

  4. Programming concepts

    Write a pseudocode to represent the logic of a program that allows the user to enter the rainfall for 12 months (January to December). The output will consist of the total rainfall for the year and the average rainfall for the 12

You can view more similar questions or ask a new question.