Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Help with Java HW

Name: Anon 2008-09-28 16:19

Write a pseudocode algorithm that determines the batting average of a baseball player. HINT: To compute a batting average, divide the number of hits by number of at-bats. Batting averages have 3 decimal places.

Help plox!

Name: Anonymous 2008-09-28 16:23

/* HelpWithJavaHW */
/* -- Date created 1936 -- */
/* -- Author /prog/ -- */

public class HelpWithJavaHW {
 public static void main(String args[]) {

Name: Anonymous 2008-09-28 16:45

>>1
How about you actually do some work rather than asking for answers.

Name: Anonymous 2008-09-28 16:48

int numHits;
int numAtBats;
Batter theFuckingBatman = new Batter(numHits, numAtBats);
System.out.println(theFuckingBatman.getBattingAverage());

Name: Anonymous 2008-09-28 18:37

Don't help him!!!

Name: Anonymous 2008-09-28 20:46

What the fuck?

Do your own fucking intro to computer science homework.  Honestly, is this really that difficult a program?  Read your fucking text and get the fuck out of /prog/.

If you are majoring in computer science, change majors.  Now.

Name: Anonymous 2008-09-28 22:25

Are you kidding? It's a simple mathematical operation in pseudocode, something you must have learned if they ask you to do it in pseudocode.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List