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(); }
Subscribe to:
Post Comments (Atom)
-
EJB Interview Question and Answer Question1: What do you mean by EJB? Ans: Most of the time this EJB interview questions is the...
-
What is Normalization ? Why should we use it? Normalization is a database design technique which organizes tables in a manner that red...
No comments:
Post a Comment