How to make simple math calculations in java

Hi,

How can I make simple math calculations in java like addition, subtraction?

Thanks,

TolgarAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
CEHJConnect With a Mentor Commented:
Such as

int i = 4 * n;

?
0
 
for_yanCommented:
What do you mean by that, can you be miore specific, what is it that you want?
0
 
CEHJCommented:
:)
0
 
TolgarAuthor Commented:
It was  a silly question. Sorry.

I gave credit for your time and closed it.

Thanks,
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.