How i am going error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How i am going error?

I am getting error #include <math.h> #include <stdio.h> int main() { double number, squareRoot; printf("Enter a number: "); scanf("%lf", &number); squareRoot = sqrt(number); printf("Square root of %.2lf = %.2lf", number, squareRoot); return 0; }

19th Dec 2020, 12:56 PM
Ankur Hazarika
1 Answer
+ 2
Ankur Hazarika no errors in your code your code is working properly!
19th Dec 2020, 1:01 PM
ㅤㅤㅤ