Using while loop
1. Make and run a program that will output all the common factors of two numbers.
2. Make and run a program that will display all the consonants from āAā to āZā.
Using do-while loop
1. Make and run a program that will output all the prime numbers from 1-100.
2. Make and run a program that will allow the user to input ten numbers and display the total number of positive and negative numbers entered.
Using for loop
1. Make and run a program that will display the numbers 1, 2, 3, and so on depending on the number of lines the user will enter. For example, if input=3, first line of output should be 1, next line 2 3, and the last line 4 5 6.
2. Make and run a program that will be able to display the following output: