A. Introduction
Programs don't come out of nowhere. They exist to solve problems or provide some functionality. More or less, a program always has three parts: input, processing and output. This applies to a small program such as calculating phone charges, as well as a large application such as an online store. The processing algorithms are designed to take the input and generate the desired output.
Notice your program always start from a "project", then you will have to create a "class". What is a class anyway?
B. Watch... (Slides)
C. Try:
1. PhoneCharge.java is here. Change it to read minutes from keyboard and print out the total charge with two decimal places and a leading $. For instance, $102.75
2. Bonus:
The following pseudocode describes how a bookstore computes the price of an order from the book price and the number of the books that were ordered.
Read the book price and numbers of books from a data file.
Compute the tax (7.5 percent of the total book price).
Compute the shipping charge ($2 per book).
The price of the order is the sum of the total book price, the tax, and the shipping charge. Print the price of the order, with two decimal places and a leading $.
Translate this pseudocode into a Java program.
Im not sure if it is correct