C
CVS
In a game of cricket,
1. Assume you can score exactly as you want on each ball.
2. Single/Double/Triple/Four/Six are the options available to you on
each ball.(no extras)
3. RISK is defined as the square of the score on each ball.
* * * *
Write a program that accepts:-
a. Target runs to score (N)
b. No. of balls to score it in (x)
and prints the runs to score on each ball.
Remember U have to ACHIEVE the target with MINIMUM RISK possible.
For detailed problem statement and sample output plz refer
http://2600hertz.wordpress.com/2010/04/04/ipl-the-run-chase/
Lets C who comes first... ;-)
Good Luck!!
1. Assume you can score exactly as you want on each ball.
2. Single/Double/Triple/Four/Six are the options available to you on
each ball.(no extras)
3. RISK is defined as the square of the score on each ball.
* * * *
Write a program that accepts:-
a. Target runs to score (N)
b. No. of balls to score it in (x)
and prints the runs to score on each ball.
Remember U have to ACHIEVE the target with MINIMUM RISK possible.
For detailed problem statement and sample output plz refer
http://2600hertz.wordpress.com/2010/04/04/ipl-the-run-chase/
Lets C who comes first... ;-)
Good Luck!!