5.13 How to print Fibonacci Series in Java Tutorial | Lecture

preview_player
Показать описание
Check out our courses:

Coupon: TELUSKO10 (10% Discount)

Coupon: TELUSKO10 (10% Discount)

Coupon: TELUSKO20 (20% Discount)

Udemy Courses:

For More Queries WhatsApp or Call on : +919008963671

Recommend Books :

The Fibonacci number is a set of numbers that starts with a one or a zero, followed by a one, and proceeds based on the rule that each number is equal to the sum of the preceding two numbers, print the series till the number n.

Editing Monitors :

Editing Laptop :

Mics

Follow on Facebook:

Subscribe to our other channel:
Telusko Hindi :

Subscribe to the channel and learn Programming in easy way.

Рекомендации по теме
Комментарии
Автор

class FibonacciExample1{
public static void main(String args[])
{
int n1=0, n2=1, n3, i, count=10;
System.out.print(n1+" "+n2);//printing 0 and 1

for(i=2;i<count;++i)//loop starts from 2 because 0 and 1 are already printed
{
n3=n1+n2;
System.out.print(" "+n3);
n1=n2;
n2=n3;
}

}}

subhojeetsinha
Автор

Your approach Towards problem should have more clarity on Transformation from actual Mathematics problem and How is Transformed to a computer problem and you should give more meaningful variable names, It should appear as if Iam watching a crime episode and that becomes more interesting as we get towards catching the culprit by getting the clues .
All that is missing in your explanation, atleast you could start with what is previous and what is current value and what the result is

myhimalayanchants
Автор

What is graph📈 of fibbpnachi bubble 🤣🤣🤣🤣🤣🤣

anilkumarsharma
join shbcf.ru