Vowels, Consonants, Digits and Spaces in a String
Q. Design a program to count the vowels, consonants, digits and spaces in a given string. SAMPLE INPUT : Hello World. I am XYZ and I am...
The Matchstick Game!
Q. In a game, of two players(player1-user .. player 2 -computer), there are 21 matchsticks.... Each player is made to pick up any number...
nPr and nCr (Using Recursion)
Q. Design a program to find the Permutation (nPr) and Combination (nCr) of 'r' objects out of 'n' distinct objects using Recursion....