Computer Science, asked by charanpatchipala, 7 months ago

India is playing a cricket match. The predictor said, if India scores more

than 300 runs today, then India will win the match. If they are scoring less

than 200, then India will lose the match. When India score is from 200 to

300, then check luck, if luck is yes means, India wins. If luck is no means

India lose the match. Write a Java program for the above task​

Answers

Answered by harshdeep5918
1

Answer:

kugh nahi

Explanation:

In a match of five days or more, a side which bats first and leads by at least 200 runs has the option of requiring the other side to follow-on.

But, the first team may choose not to enforce the follow-on, and bat themselves instead if they think they can score more in quick time and then go for a Win!

Taking today's example at the end of day two Sri Lanka(154–5) still needs 247 runs more to avoid follow on, in replay of India's 600. So Sri Lanka needs to make 401 runs in total to avoid follow on i.e. 601–401=200 exactly supporting my statement above.

Similar questions