Hello everybody, actually i'm having problems with java loops as it is so complicated, dont know where to start. I have 2 questions if u could please answer it.
1. Write a program that generates and ouputs the table below:
10 20 30 .... 100
110 120 130 ....200
210 220 230... 300
. . . .
910 920 930... 1000
2. The square root of a number is computed as follows:
guess = n/2.0
repeat
guess = (guess+ n/guess)/2.0
until guess comes to very close to answer.
Write a program to find the sqaure root of a number a positive.