0
write a program in Java to assign fractional numbers 16.0 and 25.0 print their square root
5 Respuestas
+ 5
pls show us your attempt
0
Tag a specific language please, not a person's name ... ☝
0
I am not sure:
This could be a challenge (order): If so then just remove it here. q&a os for questions
This is a questions: If so, then show us your attempt and we will help you to improve it.....
0
public class
{
public static void main (String []args)
{
double a,b,c,d;
a=16.0;b=25.0;
c=math.sqrt(a);
d=math.sqrt(b);
System.out.println("Square of a="+c);
System.out.println("Square of b=+d");
}
}
Here is ur solution it will surely work
0
In the third last line in sopln u have putted the double apostrophe after d but u have to put it before +. System.out.println("square of b="+d);
This is the correct............🙏🏻🙏🏻😇😇