meeke Hans

Greenhorn
+ Follow
since Feb 11, 2012
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 meeke Hans

Hello, Im kinda having a problem with the Scanner class. With this part of my program I ultimately want to be able to enter a company name with spaces allowed and enter data numbers. What problem with this code is that during the second loop the Enter the company name will be skipped. Any help would be awsome!



Running the code....
Enter the name of company number 1: Company One
companyName is-->Company One<---
Enter the rate for Bodily Injury Liability of company number 1: 1
Enter the rate for Property Damage Liability of company number 1: 1
Enter the rate for Uninsured Drivers Coverage of company number 1: 1
Enter the name of company number 2: companyName is--><---
Enter the rate for Bodily Injury Liability of company number 2:

it gets skipped.

MIke
12 years ago