5) This program takes a positive integer from an user and displays all the factors of that number. Enter a positive inte
Posted: Sat May 14, 2022 4:24 pm
5) This program takes a positive integer from an user and displays all the factors of that number. Enter a positive integer: 60 Factors of 60 are: 1 2 3 4 5 6 10 12 15 20 30 60
Q2.Write a program to find the sum of odd number (0-20) using while? D CAUsers\SOTARN Documents\Visual Studio 2010\Projects\dfsd\Debug dfsd.exe 190 Q3. Sum of Positive Numbers Only Output Enter a number: 6 Enter a number: 12 Enter a number: 7 Enter a number: 0 Enter a number: -2 The sum is 25
Q2.Write a program to find the sum of odd number (0-20) using while? D CAUsers\SOTARN Documents\Visual Studio 2010\Projects\dfsd\Debug dfsd.exe 190 Q3. Sum of Positive Numbers Only Output Enter a number: 6 Enter a number: 12 Enter a number: 7 Enter a number: 0 Enter a number: -2 The sum is 25