d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Why Isn't This Running?
Add Reply New Topic New Poll
Member
Posts: 4,114
Joined: May 9 2008
Gold: 0.00
Feb 1 2016 02:23am
I've created methods for each of the math equations. I've assigned numbers to x and n and i've called the method. What's the problem?

Member
Posts: 10,415
Joined: Aug 24 2005
Gold: 24,533.60
Feb 1 2016 04:46am
You got errors at compile or in running?

Maybe "Math" is a reserved name on your compiler
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Feb 1 2016 07:33am
are you confusing "not running" with "not giving output"? you dont write to the console, so if it runs, you probably wouldn't know.
Member
Posts: 4,114
Joined: May 9 2008
Gold: 0.00
Feb 1 2016 01:11pm
Quote (carteblanche @ Feb 1 2016 09:33am)
are you confusing "not running" with "not giving output"? you dont write to the console, so if it runs, you probably wouldn't know.


You're right my bad. I added system.out.println and got the answers.
Member
Posts: 14,433
Joined: Oct 14 2013
Gold: Locked
Trader: Scammer
Mar 13 2016 08:20pm
Quote (Coby9 @ Feb 1 2016 03:11pm)
You're right my bad. I added system.out.println and got the answers.


^_^
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll