Search:

Type: Posts; User: valenciajv

Search: Search took 0.24 seconds.

by valenciajv
Replies
4
Views
452

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.

by valenciajv
Replies
4
Views
452

Re: I NEED HELP WITH LAST CODE PLEASE!

I tried that and it didnt work. =(

by valenciajv
Replies
4
Views
452

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...

by valenciajv
Replies
3
Views
411

O ok. I am sorry. Is it ok to post new threads on here if I have a new program?

by valenciajv
Replies
3
Views
411

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...

by valenciajv
Replies
4
Views
528

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...

by valenciajv
Replies
4
Views
528

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. Thread: I am doing my homework =D

by valenciajv
Replies
9
Views
1,014

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. Thread: I am doing my homework =D

by valenciajv
Replies
9
Views
1,014

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. Thread: I am doing my homework =D

by valenciajv
Replies
9
Views
1,014

Re: I am doing my homework =D

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

String answerString = JOptionPane.showInputDialog(null,"Guess a number between 1 and 10");
11. Thread: I am doing my homework =D

by valenciajv
Replies
9
Views
1,014

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. Thread: I am doing my homework =D

by valenciajv
Replies
9
Views
1,014

I am doing my homework =D

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

JOptionPane.showMessageDialog(null,...
13. Thread: Help with this program.

by valenciajv
Replies
1
Views
361

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