http://ideone.com/XRMOPI
line 43 is throwing this exception and i can't figure out why

//Exception in thread "main" java.util.InputMismatchException
//at java.util.Scanner.throwFor(Unknown Source)
//at java.util.Scanner.next(Unknown Source)
//at java.util.Scanner.nextDouble(Unknown Source)
//at TestC.getBusinessInfo(TestC.java:50)
//at TestC.main(TestC.java:29)

any help is very much appreciated

I've got the feeling your error starts here:

negCheck = stdin.nextDouble();

make sure you provide correct input. if necessary, run the code first with hardcoded values.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.