Search found 35 matches
- by Jessica
- Sun Jul 21, 2013 2:22 pm
- Forum: Misc
- Topic: Guessing game with loops
- Replies: 4
- Views: 3648
That doesn't end the loop when the correct number is guessed (unless I misunderstood...?)
Is there another way?
Is there another way?
- by Jessica
- Sun Jul 21, 2013 12:23 am
- Forum: Misc
- Topic: Guessing game with loops
- Replies: 4
- Views: 3648
/* Jessica Chen * Wednesday 6/17/13 * Java 1.7.0_21 and NetBeans 7.3 * This program will allow a user to guess the computer number 1 to 100 */ import javax.swing.JOptionPane; public class GuessingGameLoop { public static void main(String[] args) { int computerNumber = (int) (Math.random() * 100 + 1...
- by Jessica
- Tue Jul 09, 2013 3:48 pm
- Forum: Misc
- Topic: Java assignment dealing with events
- Replies: 2
- Views: 2766
Managed to solve it myself...thanks for the help anyways
- by Jessica
- Mon Jul 08, 2013 3:23 am
- Forum: Misc
- Topic: Java assignment dealing with events
- Replies: 2
- Views: 2766
Trying to code up something that uses events...I have it written up, and there are no errors, but it's not working as it should. /* Jessica Chen * Sunday 7/7/13 * Java 1.7.0_21 and NetBeans 7.3 * This program displays a glass of milk */ import java.awt.*; import javax.swing.*; import java.awt.event....
- by Jessica
- Sun Jun 23, 2013 11:19 pm
- Forum: Misc
- Topic: Java - another assignment
- Replies: 4
- Views: 3467
that solved it, thanks
- by Jessica
- Sun Jun 23, 2013 2:30 pm
- Forum: Misc
- Topic: Java - another assignment
- Replies: 4
- Views: 3467
Thanks, let me try that out EDIT: StudentClient.java isn't suppose to be edited; you have to leave it alone. and I've never learned returnMsg, so I don't think I can use that ...:/ Here's more of the instructions: The Student.java class should encapsulate the concept of a student, assuming that a st...
- by Jessica
- Sat Jun 22, 2013 8:54 pm
- Forum: Misc
- Topic: Java - another assignment
- Replies: 4
- Views: 3467
Requirements: Include the proper instance variables (name and age). Include a constructor that allows the client to set beginning values for name and age. The constructor should take in two parameters (name and age) and should call mutator methods to validate new values for name and age. Include a g...
- by Jessica
- Sat Jun 22, 2013 8:47 pm
- Forum: Misc
- Topic: Java - Seasons - need help
- Replies: 4
- Views: 2763
comathi got it; but thanks all ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
- by Jessica
- Fri Jun 21, 2013 5:00 pm
- Forum: Misc
- Topic: Java - Seasons - need help
- Replies: 4
- Views: 2763
For an assignment, I currently have this code: /* Jessica Chen * Wednesday 6/19/13 * Java 1.7.0_21 and NetBeans 7.3 * Guesses the season depending on temperature entered */ import javax.swing.*; public class Season { public static void main(String[] args) { int inputTemp; String response = JOptionPa...
- by Jessica
- Thu Mar 28, 2013 8:54 pm
- Forum: Coding Help & Support
- Topic: Board game with two robots
- Replies: 3
- Views: 1177
Uh I don't think I know how to do that. I'm just completely clueless on how to START. I need some tips and guidelines...what I have attached was due last week but my class is going to do a continuation of the game we're supposed to code. Lab06 (last week's) can be downloaded here for more details: h...
Copyright Information
Copyright © Codenstuff.com 2020 - 2023