English

Write the Java expression for the following: 34(a+b)-25ab - Computer Applications

Advertisements
Advertisements

Question

Write the Java expression for the following:

`3/4 (a + b) - 2/5 ab`

One Line Answer

Solution

 ((3 / 4) * (a + b)) - ((2 / 5) * (a * b)) 
shaalaa.com
  Is there an error in this question or solution?
Chapter 1.04: Operators in Java - EXERCISES [Page 43]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.04 Operators in Java
EXERCISES | Q III. 6. | Page 43
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×