Javatpoint Logo

91-9990449935

 0120-4256464


In the first 10 overs of India Innings, the run rate was only 3.2. Find the required run rate in the remaining 40 overs to reach the target of 282 runs.

By: utkdub@gmail.com On: Mon Jun 13 14:09:25 IST 2016     0 0 0  0
In the first 10 overs of India Innings, the run rate was only 3.2. Find the required run rate in the remaining 40 overs to reach the target of 282 runs.

Total overs : 50

Total balls in an over: 6

Run rate formula: total runs scored/total overs faced

NOTE: Answer should be upto two decimal places
0

 
import java.util.Scanner;
class RunRate{
public static void main(String args[]){
double runrate,totalscore=282;
double frstov=10;
double remov=40;
double a;
a=3.2*frstov;
totalscore=totalscore-a;

runrate=(totalscore/remov);
System.out.println(runrate);
}
}
0

By: utkdub@gmail.com On: Mon Jun 13 14:09:58 IST 2016 0 0 0 0
Are You Satisfied :0Yes0No


PLEASE REPLY

Please login first to post reply. Login please!