Problem Statement: Given an Octal Number, convert it into a Decimal Number. Examples: Example 1: Input: 345 Output: 229 Explanation:

Continue reading# Category: Maths

## Convert Octal to Binary

Problem Statement: Given an Octal Number, convert it into Binary Number. Examples: Example 1: Input: 345 Output: 011100101 Explanation: Binary

Continue reading## Maximum and Minimum Digit in a Number

Problem Statement: Given a number N, print the smallest and largest digits present in the number. Examples: Example 1: Input:

Continue reading## Reverse digits of a number

Problem Statement: Given an integer. Write a program to reverse digits of a number. Examples: Example 1: Input: N =

Continue reading## Calculate the Area of the Circle

Problem Statement: Given the radius of the circle, calculate the area of the circle. Examples: Example 1: Input: N =

Continue reading## Sum Of Digits of A Number

Problem Statement: Given an integer, find the sum of digits of that integer. Examples: Example 1: Input: N = 472

Continue reading## Convert Binary to Decimal

Problem Statement: Convert a binary number to a decimal number. Examples: Example 1: Input: N = 1011 Output: 11 Explanation:

Continue reading## Print Fibonacci Series up to Nth term

Problem Statement: Given an integer N. Print the Fibonacci series up to the Nth term. Examples: Example 1: Input: N

Continue reading## Print all Prime Factors of the given number

Problem Statement: Given a number n. Print all Prime Factors of the given number n. Examples: Example 1: Input: N

Continue reading## Find Sum of AP Series

Problem Statement: Given an A.P. Series, we need to find the sum of the Series. a = first term of

Continue reading