exponentiation tag

1 questions


1 answers
60 views
0
What does the ^ operator do in Java?

What is the work of a operator in Java?For example, if you do an operation such as inta=5^n;Operator does When n is 5, the value is 0When n is 4, the value is 1When n is 3, the value is 3I don't think...


© 2024 OneMinuteCode. All rights reserved.