what is the error in the following java code
System.out.println("sqrt 100= " + Math.sqrt(100) );
whenever i try to compile the program it says error in 'Math.sqrt'
pls help
Answers
Answered by
1
its not capital M but small "m"
goldencuber:
still not working.
{
void main()
{
double a;
a=Math.sqrt(100);
System.out.println("sqrt 100= "+a);
}}
Answered by
1
its only m not M .......
Similar questions