problem 1) prepare a program to print the sum of negative numbers, sum of positive even numbers and sum of positive odd numbers from a list of numbers entered by the user.
problem 2) prepare a program to print the largest even number and largest odd number from the list of numbers entered through keyboard.
problem 3) prepare a program to determine all Pythagorean triplets in the range 100 to 1000.
(A Pythagorean triplet is a set of three integers i, j, k such that i^{2}+ j^{2}= k^{2})
problem 4) prepare a program to print the following series:
(1) 2, 4, 8, 16, 32, 64, 128, 256
(2) 1, 4, 7, 10, …………… 40
(3) 1, -4, 7, -10……………-40
(4) 1, 5, 11, 19, 29 ……..
(5) (1)+(1+2)+(1+2+3)+(1+2+3+4)…………..up to n terms
(6) (2) + (2+4) + (2+4+6) + (2+4+6+8)………….up to n terms.
(7) (1) + (1+3) + (1+3+5) + (1+3+5+7)…………..up to n terms
(8) (1^{2}) + (1^{2}+3^{2})+(1^{2}+3^{2}+5^{2})+(1^{2}+3^{2}+5^{2}+7^{2})…….up to n terms
(9) (2^{2}) + (2^{2}+4^{2}) + (2^{2}+4^{2}+6^{2})+(2^{2}+4^{2}+6^{2}+8^{2})………up to n terms
problem 5) prepare a program to find out the root of quadratic equation.
problem 6) prepare a menu driven program which has following options:
1.Factorial of a number.
2.Prime or Not
3.Odd or even
4.Exit
problem 7) prepare a program to input a number and print its reverse number. Also check that the number is palindrome or not.
problem 8) prepare a program to input a number and find out the sum of its digits.
problem 9) prepare a program to find out the count of the digits of a given integer.
problem 10) prepare a program to print the Fibonacci series.
problem 11) WAP to print the truth table for XY+Z.
problem 12) WAP to print the factorial of all the numbers till the given number.
problem 13) prepare a program to print the tables of all the numbers till the given number.
problem 14) prepare a program to input month number and year and print the calendar for the given month.
problem 15) prepare a program to find out the difference between two dates, in terms of days, months and years.