Give the output
Double d=81.00;
double a=Math.sqrt(Math.abs(d));
System.out.println("a=" +a) ;
Answers
Answered by
2
Question:-
Write the output of the following code.
Solution:-
Given,
double d=81.00;
double a=Math.sqrt(Math.abs(d));
System.out.println("a="+a);
a=Math.sqrt(81.00)
=9.0
Hence,
output is:-
a=9.0
Output:-
a=9.0
Similar questions
Chemistry,
1 month ago
English,
1 month ago
Math,
3 months ago
Accountancy,
8 months ago
English,
8 months ago