Saved Bookmarks
| 1. |
Write a Java statement to print square root of a value stored in a variable x |
|
Answer» ogram:PACKAGE com.company; class Main { public STATIC VOID main(STRING[] args) { DOUBLE x = 25; System.out.println("Squareroot = "+(Math.sqrt(x))); } } |
|