#include <stdio.h> #include <math.h> int main() { double x = 144.0; printf("Square root of %.0f is %.1f\n", x, sqrt(x)); return 0; }
Click Run to execute this code.