Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.

Contact: aviboots(AT)netvision.net.il

Prodentim Probiotics Specially Designed For The Health Of Your Teeth And Gums

Instant Grammar Checker - Correct all grammar errors and enhance your writing

Teach Your Child To Read

Powerful WordPress hosting for WordPress professionals

Disclosure: My content contains affiliate links.

31,151 questions

40,705 answers

573 users

How to use square root in C

Freaking Awesome WordPress Hosting
98 views
asked May 7, 2019 by avibootz
edited May 7, 2023 by avibootz

1 Answer

0 votes
#include <stdio.h>
#include <math.h>

int main()
{
    printf("%lf\n", sqrt(36));
    printf("%lf\n", sqrt(20));
    
    return 0;
}



/*
run:

6.000000
4.472136

*/

 





answered May 7, 2019 by avibootz

Related questions

1 answer 84 views
1 answer 35 views
35 views asked Jul 17, 2021 by avibootz
...