I am writing a simple program to calculate the average of a set of numbers. You get the numbers using Scanner, so I am using while loop with .has
Scanner
while
.has
Yes, the magic keyword is break;
break;