Write the following mathematical expressions in Java.
1. 5x + y2
2. (4c + d)2
3.d = b2 - 4ac
Answers
Answered by
0
Answer:
Java Arithmetic expressions use arithmetic operators such as +, -, /, *, and %. The % operator is the remainder or modulo operator. Arithmetic expressions are used to assign arithmetic values to variables. An expression is a combination of literals, operators, variables, and parentheses used to calculate a value.
Step-by-step explanation:
please mark me as brainliest
Similar questions