Programming Forums
User Name Password Register
 

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

Showing results 1 to 6 of 6
Search took 0.01 seconds.
Search: Posts Made By: manny85
Forum: Java Apr 13th, 2008, 3:02 PM
Replies: 19
Views: 708
Posted By manny85
Re: Random "Letter" Generator

Well I learn something new everyday :) Looks like java.lang.* is the only package that is imported automatically according to...
Forum: Java Apr 13th, 2008, 1:33 PM
Replies: 19
Views: 708
Posted By manny85
Re: Random "Letter" Generator

That line should actually be import java.lang.*;
Forum: Java Apr 13th, 2008, 12:04 PM
Replies: 19
Views: 708
Posted By manny85
Re: Random "Letter" Generator

I believe this pseudo code should work for you. You are on the right track with the input validation (making sure users enter uppercase letters and numbers). I've also added that into the pseudo code...
Forum: Java Apr 13th, 2008, 1:05 AM
Replies: 19
Views: 708
Posted By manny85
Re: Random "Letter" Generator

Ok that is what I thought. It's how I implemented my isNumeric() method above. I just wanted to make sure I was reading kewlgeyes's code correctly in that when he runs it and enters a letter his...
Forum: Java Apr 13th, 2008, 12:55 AM
Replies: 19
Views: 708
Posted By manny85
Re: Random "Letter" Generator

Actually I don't think I made it very clear what I meant now that I reread my last post. I agree that using Double.parseDouble will convert a string, which contains a number (1-10 in our case), to an...
Forum: Java Apr 12th, 2008, 11:40 PM
Replies: 19
Views: 708
Posted By manny85
Re: Random "Letter" Generator

First post on this forum but I have been lurking for a while. It has been a few years since I have used Java so thought I'd give this a go for some practice. Here is what I came up with based largely...
Showing results 1 to 6 of 6

 
Forum Jump



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

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