Fibonacci Series Program in Java

By: Prem Tiwari | Last Updated: | In: Java Tutorial


In this tutorial, I will share Fibonacci series program in Java with example and output. Fibonacci series is the sequence of number which produce by adding up the two numbers before it. Below is the some Fibonacci number examples:

Fibonacci Series Program in Java without using recursion Create a file named “FibonacciNumber.java” and copy …

Armstrong Number Program in C

By: Prem Tiwari | Last Updated: | In: C Programming Tutorial


Armstrong number is number which is the sum of its digit raised to the power of n itself. Here is the explanation: Then let’s check the given number 153 is an Armstrong Number or not an Armstrong Number. 1^3 + 5^3 + 3^3 = 1 + 125 + 27 = 153. There are many numbers …