JavaChallenge29

#UnaryOperator

Try to solve the challenge by yourself first. Don’t execute over compiler.

Sometimes, we over observe the challenge and get confused. Here it’s a simple series of unary operators which needs to perform the operation one by one. So the code looks like —

This will sum up to 29 . That’s all. Thanks for your time.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store