Computer Applications
Write the Java expression for the following:
Java Operators
12 Likes
Answer
double f = 3 * u * v / (u + v)
Answered By
7 Likes
Related Questions
State the difference between = and ==.
Predict the output and the number of times the loop runs:
class Test { public static void main(String args[]) { int i; for(i=0;i<5;i++) System.out.println(i-i*i); } }
Write the Java expression for the following:
Give the output of the snippet:
int a=10,b=12; if(a>=10) a++; else ++b; System.out.println(a + "and" +b);