public class Fibonacci15 { public static void main(String[] args) { int a=0; int b=1; int c; int n=2; System.out.println("\t"+a); System.out.println("\t"+b); do { c=a+b; a=b+c; b=a+c; System.out.print("\t"+c+"\n"+"\t"+a+"\n"+"\t"+b+"\n"); n=n+3; } while(n<=12); System.out.print("\t"+(a+b)); } }