LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 249 users online 241899 members 84 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Demfings
I haven't filled out my profile...
Mood: Happy
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
1 online / 52 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

recursive java program
Replies: 5Last Post Mar. 12 3:17am by DefaultTo0
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( King Kong )


Welsh Hero

Patron
Reply
I've got to do a java program that's recursive using Fibonacci numbers

Everything works apart from the fact I got to do a fib count

fibCount++; just seems wrong

-------
Pandora didn't think outside the box


12:12 pm on Mar. 9, 2010 | Joined: Feb. 2006 | Days Active: 1,368
Join to learn more about King Kong Wales | Straight Male | Posts: 35,334 | Points: 49,773
LiveWire Humor
RIMHfire


DEUTSCHLAND Your Ass.

Patron
Reply
Good God, what?

12:25 pm on Mar. 9, 2010 | Joined: Aug. 2008 | Days Active: 500
Join to learn more about RIMHfire Massachusetts, United States | Straight Female | Posts: 26,296 | Points: 33,024
( King Kong )


Welsh Hero

Patron
Reply
Quote: from RIMHfire at 8:25 pm on Mar. 9, 2010

Good God, what?

my lecturer wants fib count or something in the program. no idea what to do.
I have the program counting.

i have to do a table like this

n fib(n) fib Count

Post edited at 12:29 pm on Mar. 9, 2010 by King Kong

-------
Pandora didn't think outside the box


12:27 pm on Mar. 9, 2010 | Joined: Feb. 2006 | Days Active: 1,368
Join to learn more about King Kong Wales | Straight Male | Posts: 35,334 | Points: 49,773
blitzerdog


Guru
Reply
that seems right, when are you incrementing fibCount? after every sequence of numbers?

-------
I took the less beaten path

12:30 pm on Mar. 9, 2010 | Joined: Feb. 2007 | Days Active: 926
Join to learn more about blitzerdog California, United States | Straight Male | Posts: 12,216 | Points: 23,994
( King Kong )


Welsh Hero

Patron
Reply
Quote: from blitzerdog at 8:30 pm on Mar. 9, 2010

that seems right, when are you incrementing fibCount? after every sequence of numbers?

I literary have no idea what to do with fib count

-------
Pandora didn't think outside the box


12:37 pm on Mar. 9, 2010 | Joined: Feb. 2006 | Days Active: 1,368
Join to learn more about King Kong Wales | Straight Male | Posts: 35,334 | Points: 49,773
DefaultTo0

Guru

Patron
Reply
You have not mentioned what fibCount is or is supposed to do.

-------
DefaultTo0

3:17 am on Mar. 12, 2010 | Joined: July 2006 | Days Active: 1,018
Join to learn more about DefaultTo0 England, United Kingdom | Label Free Male | Posts: 10,333 | Points: 23,832
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic