Computer Science, asked by santoshmehta4163, 4 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 nimitlyallpur
0

Explanation

As you know, in test cricket each team can bat twice. Suppose in a test cricket match, team X bats first and and made ‘m' run in their first innings, then team Y got all out for ’n' runs in their first innings.

If, (m-n) > 200, then team X can follow on the team Y by inviting to bat again. So, team Y will have to bat in two consecutive innings and team X will bat again but in fourth innings if needed.

Basically, ‘follow on' is used by the team in stronger position to finish the test match quickly. Because, in the fourth innings, team X would know, exactly how much run needed to win the match (if at all sum of the runs made by team Y in two innings is greater than ‘m', otherwise, team X would win the match by an innings and some runs).

However, now a days, this ‘follow on' is getting extincted based on some previous amazing results (e.g., in 2001, Eden garden test between Ind vs Aus, where Aussies lost the match after following on India). One of the main reason for that is, bowlers don't get rest in between two innings, so tiredness affect their performance while bowling in back to back two innings. Hope I am clear, if not, then watch test match regularly… :)

Similar questions