Write program that will calculate monthly payment for a mortgage.
Get Variables, Principle, Rate and Interest, Term, Monthly Interest
Figure out monthly interest
Figure out number of months
Finally you need to calculate the monthly payment
Display the monthly payment for the mortgage
class Mort //Translated into English, this line means, "Computer, give my Java program the name Mort.
{
public static void main(String[]arguments) //This line tells the computer, "The main part of the program begins here." Java programs
//are organized into different sections, so there needs to be a way to identify the part of a program that will be handled first.
//The main statement is the entry point to almost all Java programs. The exception are applets, programs that are run in conjunction with a World Wide Web page.
//Most of the programs you will write during the next several hours use main as the starting point.
{ //These brackets are a way to group parts of your program (in the same way that parentheses are used in a sentence to group words).
//Everything between the opening bracket, {, and the closing bracket, }, is part of the same group. These groupings are called blocks.
//This line is a placeholder. The // at the beginning of the line tells the computer to ignore this lineit is put in the program
//solely for the benefit of humans who are looking at the program's text. Lines that serve this purpose are called comments.
//You can do this by using a variable, a storage place that can hold information such as integers, floating-point numbers, true-false values,
//characters, and lines of text. The information stored in a variable can change, which is where the name "variable" comes from.
double Principle; //Mortgage Amount
double Interest; // Interest on Mortgage
double Months; // How many months to pay off mortgage
double MonthlyInterest; // Monthly interest
Debt is heavy. It sits on your shoulders and weighs you down. Debt is also addictive. It 's easy to throw something on credit when you don 't actually have the money to buy it. It gives you instant gratification, and that can feel good - in the moment. But, for many people, there comes a point where they can 't use their credit anymore and debt is all they are left with. The stress of having to pay it all off can take its toll on your happiness and health, so you must come up with a way to get out of debt and start living a debt free life. Following are two things that will help you get out of debt once and for all.
This gives the readers a clue that what is to happen in the upcoming text is a
Mortgage Amortization, by definition, is “referring to the process of paying off a debt over time through regular payments. A portion of each payment is for interest while the remaining amount is applied towards the principal balance”(Google). By making the repayments in either monthly payments or the sum of the total payments, people will decrease the amount that they owe, which will help people to save their money in the long run like what the author Glen Craig states “As the interest portion of your payment declines, the principal portion increases, and with it, the remaining term of the loan gets shorter,” as soon as people start paying the principal, the payment period will get shorter.
quarter of the page and is used to catch the eye of the reader. The
The programming language C++ can be used in many ways. It has exploded into the gaming community allowing PC game programmers to have access to a stabile, yet powerful, programming language, utilizing as little code as possible. It has also been used in other commercial software, such as word processors, audio players, screen savers, and other computer desktop tools.
But my time felt very restricted. To my surprise, no one knew how to program, and no one stood up to carry the responsibility. Until my hand shot up I nervously said,"I'll do the programming." That's how it all began. Soon, my skills would grow and develop. I had begun to apply what I learned to other programs.
At the outset, before the advent of user friendly operating systems, computers were run using the operating system CP/M (Control Program for Microcomputers). The program itself looked simple, but the complexity of its use meant that not many fully understood how to use it. As the program was also limited in use, since it was designed for 8-bit systems, a new operating system was needed when 16-bit IBM systems came out.
A sub program also known as subroutine is a set of instructions set by a coach or individual that is designed to perform a regularly used operation within a program.
When executing (running), the compiler first parses (or analyzes) all of the language statements syntactically one after the other and then, in one or more successive stages or "passes", builds the output code, making sure that statements that refer to other statements are referred ...
Many different types of programming languages are used to write programs for computers. The languages are called "codes". Some of the languages include C++, Visual Basic, Java, XML, Perl, HTML, and COBOL. Each of the languages differs from each other, and each is used for specific program jobs. HTML and JAVA are languages used to build web pages for the Internet. Perl and XML can produce codes that block students from getting on certain inappropriate web pages on their school server. One of the most prominent programming languages of the day would have to be C++.
A mortgage is a form of debt, secured by the warranty of a specific real estate property. The borrower is required to pay back the debt in predetermined payments. The most common reason for acquiring a mortgage is to purchase real estate when it cannot be paid for up front. The homebuyer, in a residential mortgage, pledges their home to the bank. Over a period of years, the borrower pays back the loan with interest. Once the mortgage is paid in entirety, the owner retains the property free of any charges. However, in case of foreclosure, the bank has an entitlement on the house, as a form of insurance should the buyer default on repaying the mortgage. The bank can then sell the house, and use the capital to pay back the remaining mortgage.
Many programers devote themselves to their craft and thus are compeled to sleep little and acomplish the work in front of them. After leaving the office, (if at all) it is not unusual to spend 8 more hours on the same project at home.
As everyone grows up, everyone has to take a Math class from Kindergarten to twelfth grade. At the early stage of math classes, most of the problems were solved by using pencil and paper. Eventually, calculators took over the method of using pencil and paper. Calculators were first made in 1642 by a French mathematician, Blaise Pascal. According to the article, “Who Made the First Calculator,” calculators were created for the usage of helping a person add and subtract numbers without using their hands (“Who made the first calculator”). However, they were not introduced into classrooms due to the cost, size, and appearance of the calculator. Eventually they became sleeker and less expensive. Ever since then students started to use them in and out of classrooms. However, the practice of using calculators in the classroom has been a continuing debate since the introduction of calculators. There are many advantages and disadvantages to allowing educators and students to use calculators within the classroom. However, calculators should not be used in class rooms unless it is necessary, due to the student becoming dependent on the calculator.
Deitel, P.J., and H. M. Deitel. Internet & World Wide Web How to Program: Fourth Edition.
As Miss White needed help to keep track of monthly payments made by the 10 pupils in her group and to keep a monthly record of individual payments, a running total for each pupil, the overall total collected each month and the average amount per pupil collected each month. The overall cost of the trip is £500 per pupil between the months of October to March excluding December.