JCC CSC 1590 Computing Fundamentals I

Fun For Everyone

Archive for December, 2006

Search Values Lab Supplement

Posted in Projects on December 15, 2006 by jccfundamentals

Write a program that will ask the user for 5 numbers, and will report the largest number that was entered.  The program should only keep track of the Largest number that has been entered.

Please STOP working on the football program temporarily and work on this program.  If you would like, I recommend that you write an algorithm and have it checked by me before you start.  This should prevent you from becoming extremely frustrated with this problem.

Football Stats Program

Posted in Projects on December 6, 2006 by jccfundamentals

Create a Java program to read in an unknown number of lines from a data file.  YOu will need to create the data file in Notepad.  The contents of the file will be posted by Courtney.  This file contains a football team’s name, the number of games they have won, and the number of games they have lost.

1. Process all data until it reaches the end-of-file.  Calculate the win percentage for each team.

2.  OUtput to a file (”top.txt”) a listing of all teams with a win percentage greater than .500.  This file should contain the team name and the win percentage.

3.  Output to a file (”bottom.txt”) a listing of all teams with a win percentage of .500 or lower.  This file should contain the team name and the win percentage.

4.  Print in a message box:  The number of teams with a record over .500 and the number of teams with a record of .500 and below, each appropriately labeled.

5.  Print in the same message box: the team with the highest win percentage and the team with the lowest win percentage, each appropriately labeled.

Break, Continue and Nesting Pg 273- 283

Posted in Reading Questions on December 5, 2006 by jccfundamentals

Please read and respond in 3 – 2- 1 fashion by Tuesday December 12th.

Do.. While pg 268 – 273

Posted in Reading Questions on December 5, 2006 by jccfundamentals

Please read and respond in 3 – 2- 1 fashion by Friday December 8th.

For Loops Pg 258 – 268

Posted in Reading Questions on December 5, 2006 by jccfundamentals

Please read and complete your 3 – 2 -1 response by Thursday Dec. 7th.  Please pay close attention to the case study.