English

Write the Java expression for the following: p3 + q4 − 12r - Computer Applications

Advertisements
Advertisements

Question

Write the Java expression for the following:

p3 + q4 − `1/2`r 

One Line Answer

Solution

p * p * p + q * q * q * q - (1 / 2) * r
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. 2. | Page 43
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×