C++ Programming -To check if a given number is Fibonacci number – A simple way is to generate Fibonacci numbers until the generated number is greater
prime no in c
3 Articles
3
Java programming – Sieve of Eratosthenes – Mathematical Algorithms – Given a number n, print all primes smaller than or equal to n.For example, if n is 10.
C programming – Sieve of Eratosthenes – Mathematical Algorithms – Given a number n, print all primes smaller than or equal to n. if n is 10, the output .