-Stick to Basics-

Bundle of contradictions they said, unraveling. ACTIVE AGAIN !

Wednesday, September 25, 2013

Fibnocci series easiest way...

public static void main(String[] args) {
  int f = 0;
  int g = 1;

  for(int i = 1; i <= 10; i++)
  {
    System.out.print(f + " ");
    f = f + g;
    g = f - g;
  } 

  System.out.println();
}
at September 25, 2013
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Interview, POC

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Creating mirror of BST

Who are you ?

Unknown
View my complete profile

visitors count

find here...

  • ►  2017 (13)
    • ►  June (8)
    • ►  May (3)
    • ►  March (2)
  • ►  2016 (10)
    • ►  May (1)
    • ►  April (9)
  • ►  2015 (5)
    • ►  March (1)
    • ►  February (4)
  • ►  2014 (1)
    • ►  November (1)
  • ▼  2013 (62)
    • ►  November (1)
    • ►  October (1)
    • ▼  September (2)
      • Fibnocci series easiest way...
      • Easiest way to reverse string in java and check fo...
    • ►  August (1)
    • ►  July (6)
    • ►  April (1)
    • ►  February (2)
    • ►  January (48)
  • ►  2012 (15)
    • ►  December (15)

Try your luck !

Interview java .Net J2EE C++ C Basics CDAC ACTS stuff.. Reference Data Structures Java collections EJB JSP Servlet Sorting Spring Database Eclipse JDBC POC Utilities C# Certifications Hibernate JPA Java GUI OCJP OS

Report Abuse

Deepak_Pandey. Travel theme. Powered by Blogger.