English

What Are the Values Stored in Variables R! and R2: (I) Double R1=Math.Abs(Math.Min(-2.83,-5.83)); (Ii) Double R2=Math.Sqrt(Math.Floor(16.3)); - Computer Applications

Advertisements
Advertisements

Question

What are the values stored in variables r1 and r2:

(i) double r1=Math.abs(Math.min(-2.83,-5.83));
(ii) double r2=Math.sqrt(Math.floor(16.3)); 

One Line Answer

Solution

r1 = 5.83 .
r2 = 4.0 

shaalaa.com
  Is there an error in this question or solution?
2016-2017 (March) Set 1
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×