Write a program that asks the user to input any positive integer ‘N’ which should be less than or equal to 20 , and then calculate and print the following: (5.5marks)
a) Sum=1+2+3+…………+N b) Sum =12+22+32+………. +N2 c) Product=1*2*3…….*N
fast help plz
1
Expert's answer
2013-11-04T10:26:32-0500
Unfortunately, your question requires a lot of work and cannot be done for free. Please submit it with all requirements as an assignment to our control panel and we'll assist you.
Comments
Leave a comment