## Count the number of currency notes needed

You have an unlimited amount of banknotes worth A and B dollars (A not equals to B). You want to pay a total of S dollars using exactly N notes. The… Read More »

- How to learn Pattern printing easily?
- Difference between while and do-while loop in C, C++, Java
- Menu-Driven Program for Bank Management System
- Difference between High Level and Low level languages
- Sum of all perfect numbers present in an array
- Program to duplicate Vowels in String
- Sum of all palindrome numbers present in an Array
- Program to parse the Molecules and get the Atoms count
- Sum of all mersenne numbers present in an array
- Difference between for and while loop in C, C++, Java
- Program to find the Encrypted word
- Find number of candidates in the Exam
- Difference between for and do-while loop in C, C++, Java
- Check if the first and last digit of number N is prime and their sum is less than K
- Program to Encrypt a String using ! and @
- Minimum value to be assigned to the elements so that sum becomes greater than initial sum
- Print the season name of the year based on the month number
- What is an Expression and What are the types of Expressions?
- Program to print the Ladder Pattern
- Program to print the Diagonals of a Matrix

You have an unlimited amount of banknotes worth A and B dollars (A not equals to B). You want to pay a total of S dollars using exactly N notes. The… Read More »

Given a string, the task is to print the first and last character of each word in a string. Examples: Input: Geeks for geeks Output:… Read More »

Given a number, the task is to find the product of the digits of a number. Examples: Input: n = 4513 Output: 60 Input: n… Read More »

Given an array arr[] that contain the lengths of n sides that may or may not form a polygon. The task is to determine whether… Read More »

Given the length of the side of a square a, the task is to find the area of the shaded region formed by the intersection… Read More »

Given an array arr[] of size n, The task is to replace every element of the array by the sum of next two consecutive elements… Read More »

Given a string str, the task is to print the last character of each word in the string. Examples: Input: str = “Geeks for Geeks”… Read More »

Given the other two sides of a right angled triangle, the task is to find it’s hypotenuse. Examples: Input: side1 = 3, side2 = 4… Read More »

You are given a time T in 24-hour format (hh:mm) and a positive integer K, you have to tell the time after K minutes in… Read More »

A person hosts a party and invites N guests to it. However, each guest has a condition, that each guest ‘Gi’ only stays at the… Read More »

Given here is a right circular cone of radius r and perpendicular height h, which is inscribed in a cube which in turn is inscribed… Read More »

Given a string of alphanumeric characters, the task is to check whether the average character of the string is present or not. Average character refers… Read More »

Given the Selling price i.e ‘SP’ of the two items each. One item is sold at ‘P%’ Profit and other at ‘P%’ Loss. The task… Read More »

This article is aimed at giving a recursive implementation for pattern printing. Simple triangle pattern: C++ filter_none edit close play_arrow link brightness_4 code // C++… Read More »

Given a number N. Find the number of ways to divide a number into four parts(a, b, c, d) such that a = c and… Read More »