To print the square root of the first 10 natural numbers.
Answers
Answered by
0
Answer:
Given a natural number ‘n’, print squares of first n natural numbers without using *, / and -.
Explanation:
Input: n = 5
Output: 0 1 4 9 16
Input: n = 6
Output: 0 1 4 9 16 25
Answered by
1
Explanation:
First ten natural numbers
Natural numbers roots
1- 1
2- 1.41421356
3- 1.73205081
4- 2
5- 2.23606798
6- 2.44948974
7- 2.64575131
8- 2.82842712
9- 3
10- 3.16227766
Similar questions