Computer Applications
double c;
int x, y, z;
x = 5; y = 10; z = 11;
c = x*y+z/2;
The value stored in c is:
- 55.0
- 55.5
- 55
- none
Java Operators
95 Likes
Answer
55.0
Answered By
11 Likes
Related Questions
If int a = 25, b = 5, c = 0; what value is stored in c? When c = a % b;
What is the result of the following in Java statement?
int m=8; m*=8; System.out.println("The output =" + m);int m, p; m = 5; p = 0; p = m-- + --m;The output will be:
int a=7, p=0, q=0; p= ++a + --a; q -= p;The output of q will be: