Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp

Lipt Codder

Greenhorn
+ Follow
since Aug 28, 2019
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
3
Given in last 30 days
3
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Lipt Codder

Junilu Lacar wrote:Welcome to the Ranch!

As Mike has shown, you have to watch for those stray semi-colons. You don't want them breaking up your if-else statements.



2 weeks ago

Carey Brown wrote:This typically means you have a semi-colon (;) after the if(), like:
The semi-colon by itself tells the compiler that you want an empty statement, which in most cases, you don't, especial with a following 'else'.



Thanks for help, too. :3
2 weeks ago

Mike Simmons wrote:




Thank You!!
2 weeks ago
Hi! I have a problem with my code.
Can anyone help me?

Code:


Here is the code:

PLEASE HELP!
2 weeks ago