Search:
Type: Posts; User: Strobe
Search:
Search took 0.02 seconds.
-
April 10th, 2007, 10:52 AM
Hello everyone i'm back again. I found another problem with my code and i need help. See my program does everything that you ask of it except that if you enter 3 digits and none match at the...
-
April 10th, 2007, 07:46 AM
I Finally finished the program. I would like to thank all of you for your help.
-
April 10th, 2007, 12:20 AM
I'm having a problem with my code and would really appreciate any assistance that is given. Here is an example of the problem i'm having :
Let say my secNum = 107
user enters= 701(it prints out...
-
April 9th, 2007, 12:40 PM
thank you for your help i'm gonna take what you told me and try to fix my code.Again than you very much
-
April 9th, 2007, 12:26 PM
public void playGame()
{
Scanner input = new Scanner(System.in);
System.out.print("Want to play? " + "Type Y for Yes or N for No and press [Enter]: ") ;
String answer =...
-
April 9th, 2007, 12:21 PM
I got the code tags right.
-
April 9th, 2007, 12:05 PM
i apologize for not having followed your directions but i guess i'm kinda slow . The game just keeps on looping instead of printing out my would you like to play again message when you win or get...
-
April 9th, 2007, 11:57 AM
thank you so much for the help pete. And to everyone else Sorry about the code tags not trying to get on anyone's bad side i'll read that explanation on how to do it again do you put these on java...
-
April 9th, 2007, 11:40 AM
Why is this method giving me a message unexpected type?It's pointing at my while statement.
public void playGame()
{
Scanner input = new Scanner(System.in);
System.out.print("Want...
-
April 9th, 2007, 11:06 AM
How do i go about making the program so that when a user is aked if he would like to play again Yes or No, If the user types Yes the game continues if NO the game ends?
-
April 9th, 2007, 10:32 AM
i'm stuck, these are the things i have accomplished:
generate random number (no digits repeat)
get user's guess(no digits repeat or tryagain message)
evaluate guess( i get wether...
-
April 8th, 2007, 09:43 AM
First, i would like to tell you thank you very much for your help. I took your advice and added some code that rejected entries with duplicate digits,now it works good for everything except when i...
-
April 7th, 2007, 07:07 PM
-
April 7th, 2007, 04:04 PM
this is my code now does everything except ask players if they want to quit or play again and keep track of how many tries it takes to win.
import java.util.Random ;
import java.util.Scanner ;...
-
April 7th, 2007, 03:41 PM
i took your suggestions i put the playguess input into getGuess(). Then in the main i put this:
public class BagelsTest
{
public static void main(String [] args)
{
...
-
April 7th, 2007, 03:12 PM
thanks alot for every ones assistance i'm going to try your suggestions and i'll let you guys know how it goes. Again i really appreciate your input.
-
April 7th, 2007, 02:03 PM
when i compile the program and plug in any number all it says is process complete. I print out the secretnumber just to see what happens if i input the same exact number and it just says process...
-
April 7th, 2007, 01:30 PM
this is what i got so far:
import java.util.Random ;
public class Bagels
{
// instance variables
private int secNum ; //
private int playGuess ; //
-
April 7th, 2007, 01:29 PM
I need help with this assignment:
Programming Assignment #7
"Repetition and Decision-Making"
I. The Game of Bagels
This assignment is to write an interactive Java program to play the...
|
Click Here to Expand Forum to Full Width
|