$./app
Sign detection [1]
Power of two [2]
Counting No. of bits set [3]
Set or clear bits without branching[4]
Find maximum value[5]
Finding least common multiple[6]
Finding the greatest commom divisor[7]
Finding if a number is an Armstrong number or not[8]
Finding if a given number is prime number[9]
Finding the number of twin prime numbers[10]
Finding if a number is palindrome or not[11]
Finding prime factor of a number[12]
Finding the value of M^N[13]
Finding factorial of a number[14]
Finding the sum of the series 1! + 2! +...+N! [15]
Finding the sume of the series 1 + 2 +...+N [16]
Finding Parity of an Integer [17]
Finding the biggest among three numbers [18]
Finding the sum of even and odd numbers up to a number N [19]
Finding the sum and number of integers divisible by 5 [20]
Swapping Values [21]
Finding the decimal value for a binary [22]
Finding the reverse of an integer [23]
Finding a way for user authentication [24]:
Finding the binary equivalent of a decimal number and count no. of 1's in binary number [25]
Option: 25
Enter a decimal integer
25
Input number is 25
It's binary equivalent is 11001
No. of 1s in the binary number is 3
$./app
Sign detection [1]
Power of two [2]
Counting No. of bits set [3]
Set or clear bits without branching[4]
Find maximum value[5]
Finding least common multiple[6]
Finding the greatest commom divisor[7]
Finding if a number is an Armstrong number or not[8]
Finding if a given number is prime number[9]
Finding the number of twin prime numbers[10]
Finding if a number is palindrome or not[11]
Finding prime factor of a number[12]
Finding the value of M^N[13]
Finding factorial of a number[14]
Finding the sum of the series 1! + 2! +...+N! [15]
Finding the sume of the series 1 + 2 +...+N [16]
Finding Parity of an Integer [17]
Finding the biggest among three numbers [18]
Finding the sum of even and odd numbers up to a number N [19]
Finding the sum and number of integers divisible by 5 [20]
Swapping Values [21]
Finding the decimal value for a binary [22]
Finding the reverse of an integer [23]
Finding a way for user authentication [24]:
Finding the binary equivalent of a decimal number and count no. of 1's in binary number [25]
Option: 22
Enter a binary number : 11001
The binary number is : 11001
It's decimal equivalent is: 25
$

### Like this:

Like Loading...

*Related*