Question: public class MyCalculator { int inputi = 10; int input2 = 20; int input3 = 30; int input4 = 40; int inputs = 50; public

public class MyCalculator {

int inputi = 10;

int input2 = 20;

int input3 = 30;

int input4 = 40;

int inputs = 50;

public int average () {

return 0;}

}

Step by Step Solution

3.40 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The question is incomplete because it does not specify what the average method should do beyond retu... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!