Computer Applications
Related Questions
Write a Java program to obtain principal amount, rate of interest and time from user and compute simple interest.
if (a>b&&b>c) then largest number is:
- b
- c
- a
- wrong expression
Evaluate the given expression when the value of a=2 and b=3
b*=a++ - ++b + ++a; System.out.println("a= "+a); System.out.println("b= "+b);Rewrite the following program segment using logical operators:
if(x > 5) if(x > y) System.out.println(x + y);