// Write a program that takes a number // from the user and then prints // the square root of every number from // 1 to n. Use a FOR loop in your // solution. // using the cmath library, you can find // the square root of 'var' using the syntax // sqrt(var) where 'var' is a double. #include #include using namespace std; int main() { // add your code here return 0; }