Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to make simple math calculations in java

Posted on 2011-03-17
5
508 Views
Last Modified: 2012-05-11
Hi,

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

Thanks,

0
Comment
Question by:Tolgar
  • 2
  • 2
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 63 total points
ID: 35158211
Such as

int i = 4 * n;

?
0
 
LVL 47

Expert Comment

by:for_yan
ID: 35158216
What do you mean by that, can you be miore specific, what is it that you want?
0
 
LVL 47

Assisted Solution

by:for_yan
for_yan earned 62 total points
ID: 35158284
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 35158357
:)
0
 

Author Comment

by:Tolgar
ID: 35158756
It was  a silly question. Sorry.

I gave credit for your time and closed it.

Thanks,
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HashTable highest marks enumeration alternative 9 42
servlet example issue 6 46
ejb example issues 3 19
Cisco ASA: Java web start no go, asdm launcher no go 3 34
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This video teaches viewers about errors in exception handling.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question