The quadratic formula expression appears complicated but remember that ‘2a’ is 2 times a. Also, two solutions imply two expressions or statements to perform a calculation – one to add, one to subtract.
As the text notes, be sure to validate all inputs.
Complete the programming exercise.
Create the Javadoc in the exercise folder.
Exercise 5.7
Create the exercise folder
Complete the programming exercise.
Create the Javadoc in the exercise folder.
Each successful program should include a .java and a .class file.
Assignment submission:
Create a zip archive of the workshop folder (see Step 2) including all files and exercise folders and submit it for grading.
For example, Exercise 2.2 will produce the files Time.java (source) and Time.class (compiled) in an exercise folder.
0 comments