## Menu Driven C++ Program for a Simple Calculator

Problem Statement: Write a menu-driven program using the Switch case to calculate the following: Addition of two numbers Difference between two numbers Product of two… Read More »

- Logic Gates in Python
- Print matrix in snake pattern from the last column
- Find the total guests that are present at the party
- Program to print Step Pattern
- Interchange elements of first and last columns in matrix
- Program to check if two strings are same or not
- Print numbers in matrix diagonal pattern
- Program to print the given Z Pattern
- Python Program to print digit pattern
- Programs for printing pyramid patterns using recursion
- Replace array elements by sum of next two consecutive elements
- How to Read and Print an Integer value in Java
- Print matrix in zig-zag fashion from the last column
- Cost of painting n * m grid
- Logarithm
- Count the number of holes in an integer
- Program to check if an Array is Palindrome or not
- How to concatenate two Integer values into one?
- Program to print the given H Pattern
- Program to convert given Matrix to a Diagonal Matrix
- Count Odd and Even numbers in a range from L to R
- Game of stones
- Python program to check if given string is vowel Palindrome
- Find the multiple of x which is closest to a^b
- Find maximum element of each column in a matrix
- Print last character of each word in a string
- Program to check if a number is divisible by sum of its digits
- Check if a binary string contains consecutive same or not
- Check whether the given character is in upper case, lower case or non alphabetic character
- Program to find nth term of the series 1 4 15 24 45 60 92

Problem Statement: Write a menu-driven program using the Switch case to calculate the following: Addition of two numbers Difference between two numbers Product of two… Read More »

Given two integers n and k, the task is to find the kth smallest element from the range [1, n] after deleting all the odd… Read More »

Consider two people moving in opposite direction with speeds U meters/second and V meters/second respectively. The task is to find how long will take to… Read More »

Given an integer M which is the number of matches played in a tournament and each participating team has played a match with all the… Read More »

Given an array arr[] of distinct elements and two integers M and K, the task is to generate an array from the given array elements… Read More »

Given a range [L, R]. The task is to find the total number of Hexadecimal alphabets that are required to write every number in the… Read More »

There are n people standing on the circumference of a circle. Given the position of a persom m, the task is to find the position… Read More »

Given N Big Candies and M Small Candies. One Big Candy can be bought by paying X small candies. Alternatively, one big candy can be… Read More »

Given three integers N, X and Y, the task is to find the minimum integer that should be added to X to make it at… Read More »

Given an array arr[] where arr[i] is the concentration of juice in ith glass. The task is to find the concentration of the resultant mixture… Read More »

Given two integers N and X. The task is to print the absolute difference between the first X and last X digits in N. Considering… Read More »

Given two numbers L and R, the task is to count the number of odd numbers in the range L to R. Examples: Input: l… Read More »

Given two integers n and m which are the dimensions of a grid. The task is to find the cost of painting the grid cell… Read More »

Given a binary string str consisting of characters ‘0’ and ‘1’. The task is to find whether the string is valid or not. A string… Read More »

Given three integer n, m and k, the task is to find the smallest integer > n such that digit m appears exactly k times… Read More »