C Math Square Root

[Solved] C Math Square Root | Swift - Code Explorer | yomemimo.com
Question : sqrt function in c

Answered by : md-fuadul-islam-redoy

Are you beginner in problem solving?
Let's Solve 200 Beginner level problems with explanation video:
https://cutt.ly/200-Problems-interactive-coding-pdf
#include <stdio.h>
#include <math.h>
void main(){ int num, result; printf("Enter a number: "); scanf("%d",&num); result = sqrt(num); printf("Square root of %d = %d",num,result);
}

Source : | Last Update : Mon, 21 Nov 22

Answers related to c math square root

Code Explorer Popular Question For Swift