Brad Page

Greenhorn
+ Follow
since Oct 13, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Brad Page

thanks, I had it fixed a couple of hours later. I figured out what I did wrong.
20 years ago
sorry...My problem is during the game, if you choose the wrong answer, it gives me the right response, but the counter isnt working, so the game ends.
also, if you choose the correct answer, nothing happens.
20 years ago
I am having a problem with this basic game. I can get it to work right, if u choose the right or wrong answer. Any assistance would be appreciated.
[ edited to fix code formatting -ds ]
[ December 09, 2003: Message edited by: Dirk Schreckmann ]
20 years ago

I guess the best I can contribute is try to make the code most naturally describe your intentions. And be glad we're not using Perl and saying "do something important UNLESS condition" That still makes my skin crawl.


Stan,
Yeah I agree. I start Perl next semester. I guess ill be on here for help then too.
Thanks.
20 years ago
Andres,
My professor just told us to stay away from it. Thats all. I think my professor just doesn't want to confuse us or something.(Since we are beginners)
20 years ago
Oh, and another thing Stan..
I was told to try to stay away from using the "!" (not equal to). Is that considered a wise thing to do? Or what is your opinion?
20 years ago
Thanks Stan! I thought about creating a method too! I wish I was able to view this before I turned in my midterm today. However, I did use the while loop. I got it working great, but, I forgot to end the endless loop(like you said). Hopefully I will not get too many points counted off! I did not think about it until it was too late. I do like your method. That is something that I still need work on. Thanks again!!!
20 years ago
I am doing a program for my java class midterm. I am lost. I made a quiz using JOpionPane and if/else statements. My problem is I need three other steps in my program:
1. When a quiz is completed i need to choose other topic.
2. repeat a topic.
3. display total number of correct answers for all topics.

I think i need some kind of loop. But i cant figure it out. Thanks for helping (in advance).
20 years ago
Thanks amit, I have been trying to figure my own problem out for 3 hours now. Do you know why it doesnt work the other way? ( with the ==)
20 years ago