using c++ and SubRoutine.

Problem1: Design a function-oriented program that computes the total of the squares from 1 to n which n is supplied by a user. ex. 12345=1+4+9+16+25=55

Problem2:Design a function-oriented program that computes the factorial value of an input N

by a user ..Display the computed factorial value on the screen..

thanks to all.. i hope u can help me..:)