The demonstration for team problem 1 DURING LAB is worth 20 points.
Attendance is worth 20 points.
(30 points) Team Problem #1: Implementing a Design with a program
How many feet? 8 8 feet is 2.43902 meters 8 feet is 2439.02 millimeters
(30 points) Individual Problem #2: Debugging a program
/* The purpose of this program is to convert pounds to ounces. */ port java.util.Scanner; public class converter { public static void main(String[] args) { // declare variables double a, b; int c double d = 1.6e1; // create scanner object Scanner input = new Scanner(System.in); System.out.print("Enter pounds: "); // get the number of pounds b = input.nextInt(); c = b / d; System.out.print("My program says " + b + " pounds is " + c + " ounces"); } }
The complete paperwork for Lab 2 is (all due Friday, Aug 29th before midnight), to be submitted via electronic submission link:
Remember NOT to leave files on the local hard drives in this lab or anywhere else on campus! Make sure you save your projects on your Lockerspace or onto a portable storage device you take with you! Remember to LOG OFF!