Jeremy Olsen wrote:...
Enter Tsubo or square feet.
Tsubo
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
You have
keyboard.nextInt();
'nextInt()' returns an int. You are not assigning the int to anything or comparing to any thing, therefore the input value disappears. I don't think this is what you want.
Carey Brown wrote:You have
There are a couple of problems with this.
The two methods you have written return doubles not ints.
The two methods both take an argument of type double which you have not supplied when you call them.
This code is placed in the beginning of the method before you've asked the user if they want Tsubo or square feet.
I suggest removing them at this time. You will need to rewrite these properly after you prompt the user.
Jeremy Olsen wrote:I;m goin' craaaaaazy!!!
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Jeremy Olsen wrote:Winston, you make me laugh so hard. Thanks. That's exactly what I would have said to someone.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Wanna see my flashlight? How about this tiny ad?
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
|