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 ...

Get Absolute Beginner's Guide to Programming, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.