Hello everybody i need help with a problem please!!!
I am new to this and just trying to figure my Homework out....
Ok here it comes:
Write a program that asks the user to enter an integer between 1 and 10, sums the squares of the integers from 1 to the number entered, and display the sum. Thus, if the user enters 5, the program should display the following:
The sum of the squares of the integers from 1 to 5 is 55.
I am sure for you guys it is not an issue i am just starting my c++ class .....
please help me and give me some hints
Thx
Markus
I am new to this and just trying to figure my Homework out....
Ok here it comes:
Write a program that asks the user to enter an integer between 1 and 10, sums the squares of the integers from 1 to the number entered, and display the sum. Thus, if the user enters 5, the program should display the following:
The sum of the squares of the integers from 1 to 5 is 55.
I am sure for you guys it is not an issue i am just starting my c++ class .....
please help me and give me some hints
Thx
Markus
Comment