Computer Science, asked by akshitadubey60, 1 month ago

Give the outputs for the following snippets: Show the working stepwise.  
double x=-3.5,y=-2.5;
a)      System.out.println(Math.max(Math.round(x),Math.rint(y)));                           
b)     System.out.println((Math.rint(x)-Math.round(y)));                                           
c)      System.out.println(Math.abs(Math.round(x)*Math.ceil(y)-Math.rint(x+y)));      ​

Answers

Answered by bhawana2700
0

Answer:

bjugxtxk chit ihcfyfkk ihxcjj

Similar questions