Answered You can hire a professional tutor to get the answer.
What will be the best types to declare the variables pass and total: total = (float) ((20.
total = (float) ((20.0/70) * 100);
if (total>=50) {pass=true;}
1) boolean pass = false;
float total;
2) boolean pass;
int total;
3) String pass = "false";
float total;
4) String pass = "false";
double total;