write algorithm for following problem statement 1) to calculate age by using birth year. 2) to find whether person is senior citizen or not . 3) summation of 1 to 10 number. 4) to check given number is prime or not. 5) to find Fibonacci series upto given number. 6) to swap two numbers without using third variable by applying multiplication and division. 7) for reversing the digits of 5 digits number. 8 ) to find smallest positive divisor other than 1 . 9) to find LCM of two number 10) for counting positive number from set of numbers. 11) for counting negative number from set of numbers
Answers
Answered by
2
Explanation:
A simple solution is to iterate generate all fibonacci numbers smaller than or equal to n. For every Fibonacci number, check if it is prime or not. If prime, then print it.
it's Isha
Answered by
0
Answer:
refer To attachment
drop some thx
Attachments:
Similar questions