Skip to main content

Posts

Java for the ISC Examinations

Recent posts

Write a Program in Java to Print Fibonacci Series | ICSE

I CSE Program /*     A Program which prints Fibonacci Series (0 1 1 2 3 5 8...) */     import java.util.Scanner ;    class Fibonacci { public static void main ( String [] args ) { Scanner sc = new Scanner( System .in);   int n; long first, second, third; first = 0; second = 1; third = 0; //initializing the variables                                                                                                                   System .out. println (" Enter the limit of the Series : "); //asking for the Series Limit n...