Computer Science, asked by karunagurung388, 17 days ago

Enter 10 numbers and find out the sum and average of those number. ( while loop, java)​

Answers

Answered by chetanashukla31
0

Answer:

public class WhileEven {

public static void main(String[] args) {

int i=0;

int num=0;

System.out.println("Even numbers");

while(i<=10)

{

System.out.println(num);

i+=1;

num+=2;

}

}

}

please mark as Brainllest

Similar questions