- 7,965
Ok, here's my big dilemma, I have to write a java program in order to satisfy these specs.: http://www.drake.edu/mathcs/mctaggart/CS65/SP2004/Lab5Part1.pdf
But, I only have this much, and I'm lost. My teacher is an utter dick about helping his students, and I'm out of resources to get help with it. Is there anyone who can help me finish this one up? Here's what I have, not 100% sure if it's ok.
// ****************************************************************
// Programmer: Matthew Bertelson
// Assignment: Laboratory Assignment #5
// Due: April 1, 2004
// Purpose: This lab is the first in a multi part assignment that begins with designing a simple class, and ends with a graphical
// front end (GUI) to an application providing user selected information. The complete assignment arc will address the
// computation of the number of electoral votes allotted to each of the fifty U.S. states and to the District of Columbia.
// Both United States law and our own numeric algorithms will be used in this process.
// ****************************************************************
import cs1.Keyboard;
import java.util.StringTokenizer; // import class definition
public class State
{
private String name;
private int population;
public State (String n, int p)
{
name = n;
population = p;
}
}
But, I only have this much, and I'm lost. My teacher is an utter dick about helping his students, and I'm out of resources to get help with it. Is there anyone who can help me finish this one up? Here's what I have, not 100% sure if it's ok.
// ****************************************************************
// Programmer: Matthew Bertelson
// Assignment: Laboratory Assignment #5
// Due: April 1, 2004
// Purpose: This lab is the first in a multi part assignment that begins with designing a simple class, and ends with a graphical
// front end (GUI) to an application providing user selected information. The complete assignment arc will address the
// computation of the number of electoral votes allotted to each of the fifty U.S. states and to the District of Columbia.
// Both United States law and our own numeric algorithms will be used in this process.
// ****************************************************************
import cs1.Keyboard;
import java.util.StringTokenizer; // import class definition
public class State
{
private String name;
private int population;
public State (String n, int p)
{
name = n;
population = p;
}
}