Ray Friedrich wrote:this program makes a user input how many shipments should be shipped...
Welcome to JavaRanch, Ray.
A few things:
1. When posting code, please
UseCodeTags (←click). I've added them for you this time - see how much better it looks?
Also: avoid long lines, especially when you have comments, because they make your
thread difficult to read.
2. Try to avoid using cryptic names. You've had to explain that 'bName' == company name, whereas if you'd called it 'companyName' it would be self-explanatory.
3. I presume you want to print a different 'size' ("XL", "L" etc) when you go through you loop. How about storing those strings in an array? (
sizeString?)
HIH
Winston