hi yeh i fixed it thx!! (silly rookie error, missed a semi colon )
however just one last question what does the sqrt function does?
could i possibly write a function without using it?
sqrt(x) is short for Square Root of x. You can write a function any way you like, it's just this specific function that you will want to use the sqrt() function for.