This is a program that asks the user to pickup sticks out of four the playes who picks up the last stick loose.There are twenty one sticks.The game will be played with computer and the computer will always win.The logic of this is that if the user picks up X sticks the computer will pick 5-X so the twentieth stick will be picked by computer and user will be forced to pick up the last stick
This is a simple program it counts the number of words ,capital letters and small letters in a sentence.It cannot be fooled by multiple spaces.
program to calculate revised total of match by Duckworth&Lewis method
This program calculates the revised total for a cricket match after it has been interrupted by Duckworth and Lewis's method.The resource percentage for number of overs played out of 50 and number of wickets lost is given in an array and the values are calculated accordingly.