Coders Packet

Packets submitted by AADITYA RAJ

C++ code to check if a number is sum of two prime number

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.

Centurial leap years using C++

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.

Power of Two using Bit Manipulation in C++

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.