Home Java Math Function using Java

Math Function using Java

25 second read
0
0
606

Assume that we have to compute and print the square root of the number.

public class JavaEx {
    public static void main(String args[])
   {
        double a = 10;
        double b;
        b = Math.sqrt(a);
        System.out.println("b " + b);

    }

}

 

 

Load More Related Articles
Load More By admin
Load More In Java

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also

Bitcoin Live Casino Real Time Gaming 1

З Bitcoin Live Casino Real Time Gaming Explore live casino games powered by Bitcoin, offer…