Math, asked by divyanshsharma683, 6 months ago

VI. 1) Write a Java statement to find : 3x2 +3y-z
2) Give the output of the following program segment :
double x =2.9, y=2.5;
System.out.println (Math.min(Math.floor(x), y));
System.out.println (Math.max (Math.ceil(x),y));​

Answers

Answered by mdhpriya2007
0

Answer:

1) Write a Java statement to find : 3x2 +3y-z

2) Give the output of the following program segment :

double x =2.9, y=2.5;

System.out.println (Math.min(Math.floor(x), y));

System.out.println

Similar questions