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...
Calculate number of trailing zeros in n!
Q.There is a single positive integer T on the first line of input. It stands for the number of numbers to follow. Then there are T lines,...