Question #36761

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

Expert's answer

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.
LATEST TUTORIALS
APPROVED BY CLIENTS