Can you show me by using my code for an example?
Type: Posts; User: LooneyTunerIan
Can you show me by using my code for an example?
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
...
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. :)
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:
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.
Nevermind, I'm starting this over on another thread.
This is getting too confusing.
Can you show me?
Can you borrow my code?
Bold and Italicize some parts that cna be fixed?
It's GuessingGameByIanNeumann
Here:
java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: Uncompilable source code - class GuessingGameByIanNeumann is public, should be declared in a file named...
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. :(
Something went wrong with my code. :(
import java.util.Random;
import java.util.Scanner;
/*
* To change this template, choose Tools | Templates
Nah... this actually quite helped. :)
Thank you.
I will try it out.
--- Update ---
Sorry for double posting, but...
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...
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?:...
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:
Thank you. :) I've already posted my first java-related thread. :) I may need some help with it thought.
I need help with my Fibonacci Sequence Code:
public class FibSeqByIanNeumann {
public static void main(String[] args) {
Scanner get = new Scanner(System.in);
Hi, guys. :)
My name is Ian.
I joined up because I may need help with some of my java programs. :(