Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~915 People Reached
Favorite Forums
Favorite Tags
java x 4

2 Posted Topics

Member Avatar for dave013

think of a number and allow the user to guess it [code]import java.util.*; public class ThinkNumber { public static void main (String args[]) { //generate number in range 1 - 100 //prompt user to enter guess //loop until correct number is guessed //check guess and output hint //guess is correct …

Member Avatar for strongguy12345
0
138
Member Avatar for ashley808

[code]public class MatchingPair { public static void main(String [] args) { int dice = (int)(Math.random() * 6) + 1; int dice2 = (int)(Math.random() * 6) +1; int count = 1; while (dice != dice2) { System.out.println("Throw: " + dice +" and "+dice2); count = count + 1; dice = (int)(Math.random() …

Member Avatar for JamesCherrill
0
777

The End.