This is a C++ code to find whether a given positive number is a sum of any two prime numbers or not. If it is the sum of other prime numbers, then it shows all the combinations of the latter.
This C++ code is to find out whether a given year is a leap year or not. A leap year can be centurial and non-centurial. The main goal is to clearly detect the leap year.
This is a C++ code to find whether a given number is a power of two or not. It is of a faster time complexity as compared to the one using the modulo operator and logarithmic operator.