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); } }
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); } }