hey use two for loops
one from i=0 to 2
this ones take d input
n another for loop from i=2 to 0
this ones calculates and print the square root