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
java program to find prime number
3 Articles
3
Java Programming – Print all possible combinations of r elements in a given array of size n – Mathematical Algorithms – Given an array of size n and r is 2.
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.