Search:

Type: Posts; User: valenciajv

Search: Search took 0.13 seconds.

  1. Replies
    4
    Views
    303

    Re: I NEED HELP WITH LAST CODE PLEASE!

    wait I got it thank you =DDDDDDDDDDDDDDDDDDDDD YAY ITS FINISHED AFTER HOURS. THANK YOU . YOU ARE A LIFE SAVER.
  2. Replies
    4
    Views
    303

    Re: I NEED HELP WITH LAST CODE PLEASE!

    I tried that and it didnt work. =(
  3. Replies
    4
    Views
    303

    I NEED HELP WITH LAST CODE PLEASE!

    This is my code so far. My last thing I need and don't know how because my teacher logged off is to print the median number. The double med = median(nums); needs to be printed and I need help. It...
  4. Replies
    3
    Views
    301

    Re: Need help please.

    O ok. I am sorry. Is it ok to post new threads on here if I have a new program?
  5. Replies
    3
    Views
    301

    Need help please.

    So I got this far and its terrible. I really don't know what to do. Can someone help me? I know there is alot of if statements and messed it up. I am using JOptionPane
    I am trying to create a...
  6. Replies
    4
    Views
    412

    Re: A little help please =D

    The only reason why I don't want to use a loop is because my teacher doesn't want us to use a loop. =(
    I barely joined this website today and I am still getting use to it. When I paste my code in do...
  7. Replies
    4
    Views
    412

    A little help please =D

    So I got this far

    import javax.swing.JOptionPane;

    public class GuessingGame {
    public static void main (String [] args) {

    int num1 = (int) (System.currentTimeMillis()%10);

    String...
  8. Replies
    9
    Views
    664

    Re: I am doing my homework =D

    Does this make a random number between 1 and 10?
    I never exactly knew how this one works cause I would get zeros as well. Can you help?

    int num1 = (int) (System.currentTimeMillis()%10);
  9. Replies
    9
    Views
    664

    Re: I am doing my homework =D

    It said process completed. =D
    Thank you.
    I am not done with the whole thing yet. Time to resume my homework. =D
  10. Replies
    9
    Views
    664

    Re: I am doing my homework =D

    I guess that would make sense to convert into an int.

    How about this?
    String answerString = JOptionPane.showInputDialog(null,"Guess a number between 1 and 10");
    int answer =...
  11. Replies
    9
    Views
    664

    Re: I am doing my homework =D

    They are this
    int num1 = (int) (System.currentTimeMillis()%10);

    String answer = JOptionPane.showInputDialog(null,"Guess a number between 1 and 10");
  12. Replies
    9
    Views
    664

    I am doing my homework =D

    Hi I just had a quick question. I have this code

    if (answer > num1)
    JOptionPane.showMessageDialog(null,"Your answer is too high");
    else if (answer < num1)
    JOptionPane.showMessageDialog(null,...
  13. Replies
    1
    Views
    273

    Help with this program.

    Write a program that generates a random number between 1 and 10, then asks a player to guess your number. The player should be given three tries to guess your number.

    Each time the player guesses,...
Results 1 to 13 of 13