To provide an opportunity to write some simple Java programs.
To engage you in forms of problem solving which feature either problem decomposition and goal directed planning.
To provide you an opportunity to get the "prescribed programming procedure" under your skin. (That is, to get the emacs based, two buffer, template (slot and filler) driven, compile, run, transfer-demo routine down to the point where it is virtually automatic for you.)
Write four independent Java programs to solve the problems posed above. More specifically, for each problem, write a Java program to solve the problem, run the solution, and record the demo in the prescribed manner. In so doing, you should provide a meaningful name for each item of information given in the problem specification.The programs require no input, but each should produce a single numeric answer, reasonably labelled. The following lines are illustrative...
? java WalkwayAreaApp The area of the walkway is <float> square feet. ? java AverageCapacityApp The average capacity of the six containers is <float> liters. ? java DrivingApp The time Sera spent driving is <float> hours. ? java ConcentricShapesApp <float> percent of the colored figure is blue.For each problem, identify the problem solving strategy (decomposition or goal directed planning) which you believe most clearly reflects the solution captured by your program.