7. a. write down the structure of a while loop
b. Using a while loop, write a programme to sum the first 7 numbers (e.i. 1,2,3,4,5,6,7)
c. The ages of four children in a family are 17, 12, 8 and 3. write a java program declaring age as a variable of type float, your program should display the average age of the family
d. Determine the output of the code below: public class Eqauls Objec { public static void main(String arg[]){ int x= 42; double y = x%4; System.out.println("Y is "+y); } }