Search:

Type: Posts; User: big_c

Page 1 of 2 1 2

Search: Search took 0.42 seconds.

  1. Replies
    5
    Views
    2,018

    Re: question about boolean varibles

    ok this is what i am attempting to do. i need to add a method to check if a move is valid. for example if i put in 0,0 for x and the rperson playing o does the same thing i want to be able to tell...
  2. Replies
    5
    Views
    2,018

    Re: question about boolean varibles

    ok so how would i go about creating that method using boolen.
  3. Replies
    5
    Views
    2,018

    Java operaton on boolean varibles

    hello all i am finishing up a tic tac toe game but i have a question about Boolean vs int. my question is what do i do if i need to use symbols such as <>||=&& with boolean. here is a fragment of...
  4. [SOLVED] Re: help with tic tac toe

    hello again i just fixed the stopping when i put in 0,0 but it keeps going even if i have three x or o's it stops once i get all nine moves. i think i need an if statement in the tic tac toe runner?...
  5. [SOLVED] Tic Toe java code exists when we enter 0 row and 0 column

    good afternoon everyone. i have been working on a tictactoe game using arrays and if statements and loops. my problem is the game exits when i type in row 0 and column 0. also i was wondering if you...
  6. Replies
    5
    Views
    2,787

    [SOLVED] Re: confused about a couple things

    any suggestions for the next prime method
  7. Replies
    5
    Views
    2,787

    [SOLVED] Re: confused about a couple things

    omg i fell like such an idiot.
  8. Replies
    5
    Views
    2,787

    [SOLVED] Prime number generator program in Java

    good afternoon everyone i am working on a prime number generator and i am confused on a couple things. first thing is i am getting an error for my Boolean isPrime statement. also i have to create a...
  9. [SOLVED] Problem in generating Fibonacci sequence in java

    hello all. i am working on the Fibonacci sequence constructor and i was wondering if i posted wha ti have so far if you could tell me if im on the right trac or not and maybe give me a few pointers...
  10. Replies
    5
    Views
    2,070

    [SOLVED] Re: question about my program

    ahhh i see what your saying now. that makes sense. thats for the help and clarification
  11. Replies
    5
    Views
    2,070

    [SOLVED] Re: question about my program

    thanks but i actually figured it out yesterday morning. instead of makeing low = 1 i set low to low=rand-5 and high=rand+5 and that seems to work out just as well. thanks for the help anyways
  12. Replies
    5
    Views
    2,070

    [SOLVED] How to narrow down the range of input in java?

    i have a question about my program. i have it set up to give an interval if its to high or to low but its a very wide range i was wondering if there was a way to narrow the range down to within like...
  13. Replies
    6
    Views
    2,613

    [SOLVED] Re: help with this program (loops and if statements togethor)

    sweet its just what i was looking for. im really good with the while loop idk why i just didnt stick with that in the first place
  14. Replies
    6
    Views
    2,613

    [SOLVED] Re: help with this program (loops and if statements togethor)

    i think i figured one thing out i have to do a nested loop with in order to have guess loop until the answer is right.
  15. Replies
    6
    Views
    2,613

    [SOLVED] Re: help with this program (loops and if statements togethor)

    like if the random number is 559 and i put in 340 it should say something like your guess is to low try guessing between 341 and 560.
  16. Replies
    6
    Views
    2,613

    [SOLVED] Fixing of bug in number guessing game

    hey everyone i am stuck with this program. im trying to make a number guessing game using loops and if statements. i know how to do them individually but i am struggling with doing them together....
  17. Replies
    2
    Views
    2,698

    [SOLVED] Re: random number generator

    sweet deal. i really wish i didnt lose my book lol
  18. Replies
    2
    Views
    2,698

    [SOLVED] Random number method implementation

    hey guys i have a question about implimenting a random number method. i cant remember what i have to import for it. also i dont remember how to set the range. any help is much appreciated
  19. Replies
    31
    Views
    6,081

    [SOLVED] Re: fixing these two errors

    i think we can put this one in the solved files
  20. Replies
    31
    Views
    6,081

    [SOLVED] Re: fixing these two errors

    thanks for your guys help. i think i finally understand if statements this class is the toughest class i am in and thank godness its the only programming class i have to take :-D. this is quite the...
  21. Replies
    31
    Views
    6,081

    [SOLVED] Re: fixing these two errors

    ok for hourly wage i used 7.15 and for hours i used 40 and 50(for overtime) the output should be 286 for 40 hours and for 50 it should be 536.25 if i used the right overtime percentage
  22. Replies
    31
    Views
    6,081

    [SOLVED] Re: fixing these two errors

    okay heres the right ones now
    class:


    public class PayCheck
    {


    public PayCheck(double hourlyWage,double hours)
    {
  23. Replies
    31
    Views
    6,081

    [SOLVED] Re: fixing these two errors

    not quite its solved all the syntex stuff but now when i run it it returns pay as 0 instead of the answer to hours*hourlyWage.
  24. Replies
    31
    Views
    6,081

    [SOLVED] Re: fixing these two errors

    wow it was right in front of my face the whole time and it didnt even dawn on me about the naming of it. thanks a million for all your help.
  25. Replies
    31
    Views
    6,081

    [SOLVED] Re: fixing these two errors

    ok i attached a screen shot for the error, and both my class and main
Results 1 to 25 of 31
Page 1 of 2 1 2