// Average.java - compute average of input values import tio *; public class Average {public static void main (String [] args) {double number; int count = 0; double runningTotal = 0; // initialization before first loop. Iteration System.Out.println ("Type Some Numbers"; Number = console.in.readdouble (); while (Number! = 0) {RunningTotal = RunningTotal Number; count = count 1; // prepare for next ion number = console.in.readdouble ();} system.out.print ("the average of there"); system.out.print (count); system.out.print (" NumBers IS "); system.out.println (RunningTotal / count);}}