C Program Algorithm
C Program Algorithm
3Read the three integer values in n1, n2, and n3 (integer variables).
4.Check if n1 is greater than n2 and n3.If true, then print ‘n1’ as the greatest number.
2.Armstrong number
Algorithm.
3. check the condition If (n==o || n==1) then return n,else return fib(n-1)+fib(n-2).