Find the output of the following Java Program
public class Test {
public static void main(String[] args)
int p=45, q=23, r=4;
int res= ((p>q && q>r)?q%10:p/10)>1500?400:500;
System.out.println(res);
}
Answers
Answered by
0
Answer:
int i; for (i=1; i<=n; i++){ total = total +i;. } } public static void main(String ... variables p=0, q=0), and p starts referring to the new ... public static void copyarray(double a[], double b[], int ai,.
Hope it helps to u.....
Similar questions
Math,
2 months ago
Social Sciences,
2 months ago
Physics,
5 months ago
Science,
5 months ago
Science,
11 months ago