Friday, March 14, 2008

Final Part 2

Riverdog said; Just sent you another copy of the distance traveled problem. I wanted you to be sure to give me credit for it on the final exam. I sent it to you earlier last week, but was not sure that that would count as the exam.

Bruce

Wednesday, March 12, 2008

Final Exam Completed 3/12

Riverdog said;
I sent my Final Exam in tonight. I wanted it to be on time, but it might be early. I tried to complete the problem of Hotel Occupancy, but just did not have enough information to complete the assignment. I learn a lot in this class and want to continue with the next two computer class that I need before my tour in Hawaii is finished in Sept 2008.

I sent the two problem from CR in a e-mail tonight and the Java program on the Hotel occupancy. I did not want to fight with that problem any more because I have neck strain, and have lost too much sleep over that problem this week . I must have spent 15 hours trying to solve that one problem. Now that I look back, I think that I had trouble in the beginning of class getting my home computer to work and that hurt the progress of the programing tasks.

I mail the distance travel problem to you several week ago with my name on it I hope that is good for the final exam grade. Thank you Mr. Chang, and good luck to you!

Bruce

Monday, March 10, 2008

Hotel Floor Loop

River is working on it!
Just trying to keep up on the homework. These first word problems I found easy, but I still need to write them up. The programs are difficult for me, so I'm trying to use a recursive Binary method. I learned a lot by trying this, but I did not write the program yet. I will keep it simple now.

The word problem "USED CARS" is #5, and "DONUTS" is #11. I think you meant to write # 5 for the USED CARS problem, because we did one like the Donuts already when we did The 5 Newsboys! Check the CSCI 1911 Blog and explain to us.

Sunday, March 9, 2008

Hotel Occupancy

Riverdog said; I have been working on this program for several day now, and i look easier that it really is. I wish everyone luck with this problem.

Bruce

Tuesday, March 4, 2008

Time sound travels

Riverdog said; Got my home computer working, and running programs now. I worked on the class problem #12 some, and just e-mailed it to Mr Cheng. I will turn in the other problems in class on Wednesday. As of right now I plan on attending class on tomorrow.

Computer Repairs

Riverdog said; I was work on the computer and discovered that I must have loaded a network program JRE, and now I am not sure what to do. I am going to bring my laptop on Wed and ask for some of the instructors help to get the JDK program that I am missing. I worked on the homework and I really do like the word problem now. The one about the rectangles as my favorite problem so far.

Friday, February 29, 2008

Friday night class

Riverdog said; Well I am at school in our class room, I was let into the class room to look up some options on the system. There is another class coming in at 520 PM on Fridays, and I will leave soon. I got the homework and learned how to make the printer work in class. We needed the IP address for the printer to load properties last week.


/*File: Distance Traveled.java
*CSCI 1911 Class Bruce McDowell
**/

import java.util.Scanner; // Needed for the Scanner class
/**
This program demonstrates a user controlled for loop.
*/
public class DistanceTraveled
{
public static void main(String[] args)
{
int number; // Loop control variable
int maxValue; // Maximum value to display
int time;
int speed;
int distance;
System.out.println("I will display a table of " +
"time and distance travelled by the hour.");
// Create a Scanner object for keyboard input.
Scanner keyboard = new Scanner(System.in);
// Get the maximum value to display.
System.out.print("How fast is your car? ");
speed = keyboard.nextInt();
while (speed <= 0)
{
System.out.print("Invalid entry try again? ");
speed = keyboard.nextInt();
}
System.out.print("How many hours traveled? ");
time = keyboard.nextInt();
while (time <= 0)
{
System.out.print("Invalid entry try again? ");
time = keyboard.nextInt();
}
// Display the table.
System.out.println("Hour Distance Traveled");
System.out.println("-------------------------");
for (number = 1; number <= time; number++)
{
distance = speed * number;
System.out.println(number + "\t\t" +
distance);
}
}
}