0
I worked in this exercise of the facu:
MAKE a program with a method ( exercicio06 ) to:
read two integers (a) and (b) from the keyboard, read other integer values from the keyboard one at a time, until the last value is equal to (-1). for all values in the open range ]a:b[; compute and show the sum of the squares of the inverses (1/x2 ). TIP: Avoid division by zero using a double alternative.
my way out is this:
If anyone can help you with anything,,
thanks a lot guys.
do not put picture in questions, put only text, because if someone tests your code will have to type it all, can not copy and paste!
– zentrunix