Fill in Order Details

  • Submit paper details for free using our simple order form

Make Payment Securely

  • Add funds to your account. There are no upfront payments. The writer will only be paid once you have approved your paper

Writing Process

  • The best qualified expert writer is assigned to work on your order
  • Your paper is written to standard and delivered as per your instructions

Download your paper

  • Download the completed paper from your online account or your email
  • You can request a plagiarism and quality report along with your paper

programming questions 2

Program Specifications: Congratulations! The “Mafiosa Bank of Uncle Sal” in Miami has accepted your application for a 20 year mortgage on your first home. You put $25,000 down on a $325K house and will be borrowing $300K (three hundred thousand) from the bank at an interest rate of 4.25%. The terms of the loan state that you only make one payment per year to the bank in December for an agreed upon amount. For the very last payment (year 20), you must pay the entire remaining amount due. You now realize this is not such a great deal, but you have signed the contract and until a lawyer gets you out of it, you are stuck.

So at the end of every calendar year, several things take place:

  1. The bank computes the interest based on what you currently owe.
  2. The bank adds the interest to the amount due resulting in the revised amount due.
  3. You make your agreed upon payment which reduces the total amount you owe.

Note: Yes, the bank computes the interest and adjusts the total amount owed before you make your payment (you know why don’t you?).

In gathering information for your lawyer, you want to demonstrate how much you will have to pay at the end of your loan period of 20 years. To do this, you have to write a program that will read a variable “amount” from the keyboard that will be the agreed upon amount to pay yearly to the bank. Your program will then print the results of the calculations for each year as follows:

Example of input/output (you must have the same wording – only the amounts will change depending upon the payment):

Annual amount ($) ? 10000
At the end of year 1 Remaining due: 302750 Total interest: 12750 Total paid: 10000
At the end of year 2 Remaining due: 305616 Total interest: 25616 Total paid: 20000
At the end of year 3 Remaining due: etc.

…etc.

At the end of year 19 Remaining due: 377982 Total interest: 267982 Total paid: 190000
At the end of year 20 Remaining due: 394046 Total interest: 284046 Total paid: 584046

Program Requirements:

  1. Alignment – You do not have to have the output aligned exactly as above. It should simply be neat and easy to read. You must use the exact same wording as above.
  2. Constants – Your program must define the rate, duration of loan, and amount borrowed as class constants.
  3. Numeric Types – The calculations should be made with variable of an appropriate type – but you should output only dollars. Use casting to do that (there are ways to print double with appropriate number of decimals – we will see that later).
  4. Valid Data – You can assume the amount entered is a positive real number less than 23000.
  5. Style – Be sure to follow the guidelines of good style using proper indentation, well-chosen identifiers and appropriate use of comments.

TIPS:

  • Setting up your loop – In general with loops, the tricky part is the start of the loop and the end of the loop. Here obviously the result of the year 20 is *special* since the calculation is not the same as for other years. Because of this, you may want to loop for only 19 years and do the last year outside of the loop.
  • Testing your program – Submitting a program that has no syntax errors is not good enough for a perfect score. You need to start testing your programs for errors. Think of all cases where it is relatively easy to check if your program works properly. F for example:
    • What happens if the agreed upon amount to pay yearly is zero dollars?
    • What happens if the amount paid yearly is one dollar? A hundred dollars? Ten-thousand dollars?

WHAT OUR CURRENT CUSTOMERS SAY

  • Google
  • Sitejabber
  • Trustpilot
Zahraa S
Zahraa S
Absolutely spot on. I have had the best experience with Elite Academic Research and all my work have scored highly. Thank you for your professionalism and using expert writers with vast and outstanding knowledge in their fields. I highly recommend any day and time.
Stuart L
Stuart L
Thanks for keeping me sane for getting everything out of the way, I’ve been stuck working more than full time and balancing the rest but I’m glad you’ve been ensuring my school work is taken care of. I'll recommend Elite Academic Research to anyone who seeks quality academic help, thank you so much!
Mindi D
Mindi D
Brilliant writers and awesome support team. You can tell by the depth of research and the quality of work delivered that the writers care deeply about delivering that perfect grade.
Samuel Y
Samuel Y
I really appreciate the work all your amazing writers do to ensure that my papers are always delivered on time and always of the highest quality. I was at a crossroads last semester and I almost dropped out of school because of the many issues that were bombarding but I am glad a friend referred me to you guys. You came up big for me and continue to do so. I just wish I knew about your services earlier.
Cindy L
Cindy L
You can't fault the paper quality and speed of delivery. I have been using these guys for the past 3 years and I not even once have they ever failed me. They deliver properly researched papers way ahead of time. Each time I think I have had the best their professional writers surprise me with even better quality work. Elite Academic Research is a true Gem among essay writing companies.
Got an A and plagiarism percent was less than 10%! Thanks!

ORDER NOW


Consider Your Assignments Done

“All my friends and I are getting help from eliteacademicresearch. It’s every college student’s best kept secret!”

Jermaine Byrant
BSN

“I was apprehensive at first. But I must say it was a great experience and well worth the price. I got an A!”

Nicole Johnson
Finance & Economics

Our Top Experts

See Why Our Clients Hire Us Again And Again!


OVER

10.3k
Reviews

RATING
4.89/5
Average

YEARS
13
Mastery

Success Guarantee

When you order form the best, some of your greatest problems as a student are solved!

Reliable

Professional

Affordable

Quick

Using this writing service is legal and is not prohibited by any law, university or college policies. Services of Elite Academic Research are provided for research and study purposes only with the intent to help students improve their writing and academic experience. We do not condone or encourage cheating, academic dishonesty, or any form of plagiarism. Our original, plagiarism-free, zero-AI expert samples should only be used as references. It is your responsibility to cite any outside sources appropriately. This service will be useful for students looking for quick, reliable, and efficient online class-help on a variety of topics.