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 program in c
4 Articles
4
C Programming – Check divisibility by 7 – Mathematical Algorithms – Divisibility by 7 can be checked by a recursive method. A number of the form 10a + b.
C Programming – Given a number, find the next smallest palindrome – Mathematical Algorithms – For example, if the input number is “2 3 5 4 5”.
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 .