0
How can I write math operation in java it always gave me error
Which class or method should I use
2 Answers
+ 3
Learn about Math package in Java. And please don't tag JavaScript if it is related to Java because both are different.
+ 1
Please show us your code.
You can use + - * / %
Other operstions are in the Math class.
https://www.sololearn.com/learn/Java/2140/
https://www.sololearn.com/learn/Java/2219/?ref=app