Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > The RUN CHASE: A Challenge for the C Programmer in U...

Reply
Thread Tools

The RUN CHASE: A Challenge for the C Programmer in U...

 
 
CVS
Guest
Posts: n/a
 
      04-04-2010
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/...the-run-chase/

Lets C who comes first...
Good Luck!!
 
Reply With Quote
 
 
 
 
Dr Malcolm McLean
Guest
Posts: n/a
 
      04-04-2010
On 4 Apr, 14:36, CVS <cvs...@gmail.com> wrote:
> In a game of cricket,
>

[Optimisation problem: looks like linear programming.]

Yeu need comp.programing for this. Whilst a solution can certainly be
implemented in C, the problem itself has nothing to do with the
language used to write the program to solve it.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent positions: Sr Programmer Analyst (SPA) and Programmer Analyst(PRA)-06+month's- Carson City, NV. Isaac Java 0 12-08-2010 06:32 PM
Urgent positions: Sr Programmer Analyst (SPA) and Programmer Analyst(PRA)-06+month's- Carson City, NV. Isaac Java 0 12-08-2010 05:34 PM
Who gets higher salary a Java Programmer or a C++ Programmer? Sanny Java 391 01-06-2010 02:48 AM
Who gets higher salary a Java Programmer or a C++ Programmer? Sanny C++ 396 12-17-2008 06:13 PM
can run javascript can't run vbscript - WHY duncan ASP .Net 2 10-27-2004 09:31 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57