Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 533
  • Last Modified:

How to make simple math calculations in java

Hi,

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

Thanks,

0
Tolgar
Asked:
Tolgar
  • 2
  • 2
2 Solutions
 
CEHJCommented:
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now