How to find the square root of a number in Dart

1 Answer

0 votes
import 'dart:math';

void main() {
    
    var result = sqrt(9);
    
    print(result); 
}
 
 
 
 
/*
run:
 
3.0
 
*/

 



answered Oct 16, 2022 by avibootz

Related questions

...