please help me to write the code or algorithm for this program.
Input a list of integers: 3 5 12 -2 0 -3
Sum of squares: 191
the program that i will make will go like this:
I will use a textbox then I will put integers in it. Then the integers that i will input will be squared for example, input integers; 3 9 12 and then 3 becomes 9, 9 will be 81 and 12 will be 144 after that, if i press the command button the integers 9,81, and 144 will be added or sum up.
the exception handling are:
range of -100 to 100
to the ensure that the input values are in range and are legal integers,
how can i read the integers that I put in the textbox?
how can i square the integers and add it all?
how can i apply the exception handling/
to handle the error of the sum of the squares becoming larger
i hope someone would help me... Thank you =D