Computer Applications
State whether the following statement is True or False :
If int a=27,b=4,c=0; then c = a%b; results in 3.
Java Operators
31 Likes
Answer
True
Answered By
2 Likes
Related Questions
Rewrite the following using ternary operator:
if(income < 10000) tax = 0; else tax = 12;Rewrite the following using ternary operator:
if(a > b) { if (a > c) g = a; else g = c; } else if (b > c) g = b; else g = c;Rewrite the following using ternary operator:
if (p >= 4750) k = p * 5 / 100; else k = p * 10 / 100;Rewrite the following using ternary operator.
if(n1 > n2) r = true; else r = false;