18.A program to find the sum and average of the given numbers using the while loop.
19.A program to find the sum and average of the given numbers using a do-while loop.
20.A program to generate a fibonacci series of ‘n’ numbers, where n is defined by the programmer. (series should be: 0 1 1 2 3 5 8 13 21 34 and so on.)
21.A program to find the factorial of a given number using do-while loop.