/**
*
* Gregory B Shavers Jr
* CSC 225 - Online
* Lab 6
*/
import java.util.*;
public class GuessingGame
Type: Posts; User: Rain_Maker
/**
*
* Gregory B Shavers Jr
* CSC 225 - Online
* Lab 6
*/
import java.util.*;
public class GuessingGame
Okay my HW assignment states that I need to create a guessing game. The computer is supposed to choose a number 1-100. And from that selection the player is supposed to guess that number. Is that...
Okay I turned in the assignment but I still wanted to do it the right way.
Okay here is what is supposed to happen. The getmethod() is supposed to run a random number. After running a random...
The getGuess method runs a random number and then ask the user random guess.
Okay norm I resolved the issue....almost
Here what we have
/**
*
* Gregory B Shavers Jr
/**
*
* Gregory B Shavers Jr
* CSC 225 - Online
* Lab 6
*/
import java.util.*;
public class GuessingGame
Okay I fixed the guess method. But what about my output not showing.
--- Update ---
I want to let the user know he has the right output when he guesses the correct number.
--- Update ---
...
Okay my application is almost done. I just need a little help with some debugging.
/**
*
* Gregory B Shavers Jr
* CSC 225 - Online
* Lab 6
*/
Okay give me a min and let me look at this documentation. And I will get back to you.
Thanks!
I kind understand what your saying. But methods are a little confusing to me. So are you saying when I call the method I should make sure that variable is a double.
Well my assignment states that I need to use a method to retrieve a double from a user and then evaluate that method in my processGuess method.
--- Update ---
Well not really a double but a...
Method getGuess in class GuessGame cannont be applied to given types;
required double
found: no arguments
reason: actual and formal arguments list differ in length
The operator that your...
Okay I'm learning about methods for my class. I think I have a very good foundation, but I'm still an amateur. I have an assignment due tonight but I'm having trouble with it. Here is my...