O'Reilly logo

Absolute Beginner's Guide to Programming, Second Edition by Greg Perry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Application: Interest Calculation

This chapter creates an application that displays a simple form, shown in Figure 10.1. Behind the simple form is quite a lot of code that calculates an interest rate based on the user's entered values.

Figure 10.1. You will create an interest rate calculator that computes a future investment value.

Getting Ready to Write

The most important part of a program's design, the output definition, appears in Figure 10.1. Ordinarily, you won't have a figure to begin with when someone asks you to write a program for them. You will first have to interview that user and ask what kinds of information the program is to track ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required