Computer Science, asked by shellz, 1 year ago

(c) What is the value of
a%b if a = 37.5 and
b = 3.5​

Answers

Answered by ranjan79ritesh
1

Answer:

answer = 2.5

Explanation:

here % is modulus . It means that you will get the remainder of the following expression ,

refer this java codes and execute to  be assured of the answer );

class jkl

{

public static void main()

{

   double a=37.5 ;double b=3.5;

   double d=a%b;

   System.out.println(d);

}

}

Similar questions