next up previous
Next: What to turn in Up: Programming assignment Previous: Make your program even

One more method!

1.
Read Section 8.1 of the text.
2.
Create a new project named Fraction.$\pi$, in the usual way. Make it an Application.

3.
Write the method fractionOfDay described in Exercise 4, at the end of Section 8.1.

4.
Write a main method that tests your method by invoking it with various arguments and printing the results.



Allen B. Downey
2/18/1998