Bob Beasley

Greenhorn
+ Follow
since Nov 06, 2002
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 Bob Beasley

Any suggestions on converting a string to proper case?
ex: bob becomes Bob
I'm aware of string.toLowerCase()
and string.toUpperCase()
Thanks
Bob
21 years ago

Originally posted by Dirk Schreckmann:
Does the following applet work with the following html file for you?


Yes, It runs fine.
Thanks!
Bob
21 years ago
I don't understand this one. Year 2000 is / 4 but your next 2 rules would exclude it from being a leap year?
Thanks
Bob
Write a program that will read in a year and report if it is a leap year. The tricky thing here is that a leap year occurs:
on every year that is evenly divisible by 4
except every year that is evenly divisible by 100
except every year that is evenly divisible by 400.
In other words, I want to type
java Leap 2000

and see
leap year!
21 years ago

Originally posted by Gregg Bolinger:
Is that the only thing you have in your html document? Or do you also have the <HTML></HTML>.
You should also terminate your <APPLET> with </APPLET>, just good practice.


Yes, I have those tags as well.
Thanks
Bob
21 years ago
I've written an applet, and compiled it. I've created a HTML document with the following code:
< applet code= "TryApplet.class" WIDTH=300 HEIGHT=200>
The files are in the same folder. When I try to run it from the command prompt (Appletviewer TryApplet.html) nothing happens.
Win 2000 Pro
IE6
Thanks
Bob
21 years ago