Search:

Type: Posts; User: LooneyTunerIan

Search: Search took 0.09 seconds.

  1. Re: Guessing Game Demo, wanting to add a doAgain Loop, but I don't know how to.

    Can you show me by using my code for an example?
  2. Re: Guessing Game Demo, wanting to add a doAgain Loop, but I don't know how to.

    import java.util.Random;
    import java.util.Scanner;

    /*
    * To change this license header, choose License Headers in Project Properties.
    * To change this template file, choose Tools | Templates
    ...
  3. Re: Guessing Game Demo, wanting to add a doAgain Loop, but I don't know how to.

    Can you show me by using my code for an example?

    I need to be sure so as I don't get all mixed up.

    You can use my code to help you. :)
  4. Re: Guessing Game Demo, wanting to add a doAgain Loop, but I don't know how to.

    No, not like that.

    I meant for the program to loop again after you win.

    Like this:

    YOU WIN!
    The number was: #
    It took you this many tries to get it right:
  5. Guessing Game Demo, wanting to add a doAgain Loop, but I don't know how to.

    Ok, here's what I got.




    import java.util.Random;
    import java.util.Scanner;

    /*
    * To change this license header, choose License Headers in Project Properties.
  6. Re: Guessing Game Code... something went wrong

    Nevermind, I'm starting this over on another thread.

    This is getting too confusing.
  7. Re: Guessing Game Code... something went wrong

    Can you show me?

    Can you borrow my code?

    Bold and Italicize some parts that cna be fixed?
  8. Re: Guessing Game Code... something went wrong

    It's GuessingGameByIanNeumann
  9. Re: Guessing Game Code... something went wrong

    Here:


    java.lang.ExceptionInInitializerError
    Caused by: java.lang.RuntimeException: Uncompilable source code - class GuessingGameByIanNeumann is public, should be declared in a file named...
  10. Re: Guessing Game Code... something went wrong

    Well, I'm lost.

    I tried to run it and I got an error. :(

    I looked at my code and... I don't know what went wrong. :(
  11. Guessing Game Code... something went wrong

    Something went wrong with my code. :(




    import java.util.Random;
    import java.util.Scanner;

    /*
    * To change this template, choose Tools | Templates
  12. [SOLVED] Re: Need help with YES/NO Loop in Fibonacci Sequence

    Nah... this actually quite helped. :)
  13. [SOLVED] Re: [UNSOLVED] Need help with YES/NO Loop in Fibonacci Sequence

    Thank you.

    I will try it out.

    --- Update ---

    Sorry for double posting, but...
  14. [SOLVED] Re: Need help with YES/NO Loop in Fibonacci Sequence

    This is getting very confusing. :confused:

    Please... can you show me how to do just that by using my code?

    Not just show me the little parts?

    Here's another helpful tip: I want to be able...
  15. [SOLVED] Re: Need help with YES/NO Loop in Fibonacci Sequence

    Hmm.. so what you're saying is... if I do it like this:

    while (again = true)
    {

    int ctr, num1, num2, fib, maxTimes;

    System.out.print("How many sequences do you want?:...
  16. [SOLVED] Re: Need help with YES/NO Loop in Fibonacci Sequence

    Yeah...

    I heard of this, but...

    How can I make it work for a YES/NO Loop?

    If I choose yes, how will it do it again?

    I'm very confused. :confused:
  17. Replies
    2
    Views
    842

    Re: Hello, everyone. My name is Ian.

    Thank you. :) I've already posted my first java-related thread. :) I may need some help with it thought.
  18. [SOLVED] Need help with YES/NO Loop in Fibonacci Sequence

    I need help with my Fibonacci Sequence Code:




    public class FibSeqByIanNeumann {

    public static void main(String[] args) {

    Scanner get = new Scanner(System.in);
  19. Replies
    2
    Views
    842

    Hello, everyone. My name is Ian.

    Hi, guys. :)

    My name is Ian.

    I joined up because I may need help with some of my java programs. :(
Results 1 to 19 of 19