The Artima Developer Community
Sponsored Link

Java Answers Forum
Java Question

1 reply on 1 page. Most recent reply: Mar 18, 2003 6:01 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Jake

Posts: 1
Nickname: slimmthers
Registered: Mar, 2003

Java Question Posted: Mar 18, 2003 12:13 PM
Reply to this message Reply
Advertisement
Hi,

I need to create a class will have a ?roll? method that returns a random number from one to six. After the program simulates rolling the die the specified number of times, use two arrays to store the frequency for each number on each die and a third array that contains the frequency of each sum. From these three arrays, calculate the required statistical analysis. Any help would be greatly appreciated.


Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: Java Question Posted: Mar 18, 2003 6:01 PM
Reply to this message Reply
Why don't you post the code you have written so far and we'll give you a few pointers, or better, a few references.

Flat View: This topic has 1 reply on 1 page
Topic: record class - class questions Previous Topic   Next Topic Topic: casting super-class reference to a sub-class referenc

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use