☰
d2jsp
Rules
Help
Forum Gold FAQ
Live Streams
Photo Gallery
Hourly Raffle
Ladder Slasher
Log In
Register
Log In
Register
Account Recovery
Resend Validation Email
d2jsp Forums
>
Off-Topic
>
Computers & IT
>
Programming & Development
> Why Isn't This Running?
Add Reply
New Topic
New Poll
Views: 505
Replies: 4
Track Topic
Coby9
Member
Posts: 4,114
Joined: May 9 2008
Gold
:
0.00
#1
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?
EoN-mf
Member
Posts: 10,415
Joined: Aug 24 2005
Gold
:
24,533.60
#2
Feb 1 2016 04:46am
You got errors at compile or in running?
Maybe "Math" is a reserved name on your compiler
carteblanche
Member
Posts: 32,925
Joined: Jul 23 2006
Gold
:
3,804.50
#3
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.
Coby9
Member
Posts: 4,114
Joined: May 9 2008
Gold
:
0.00
#4
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.
JDota72
Member
Posts: 14,433
Joined: Oct 14 2013
Gold
:
Locked
Trader:
Scammer
#5
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
© 2003-2026 d2jsp
Contact