Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Dec 10th, 2005, 2:56 PM   #1
Draconis77
Newbie
 
Join Date: Dec 2005
Posts: 8
Rep Power: 0 Draconis77 is on a distinguished road
Java help please?

Hey people. I'm sure this will be simple for someone in here. I am new to Java programming and am having a hell of a time trying to solve my problem.

Anyway, I am writing a program that prompts the user to enter 3 scores, multiplies the scores by the weights of the tests and then outputs the lettergrade.

I have a loop setup to restart the program if they enter a character instead of a number.
I also have it setup so that if they enter a score between 0 and 100 the program terminates, however I would prefer to have it re-ask the user to enter the information.

Any help would be greatly appreciated.
Here is the code: http://pastebin.com/458716

Thanks people.
Draconis77 is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:48 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC