Question about Computers & Internet

# Java compute for the sum, difference, product or quotient of two numbers dependeng on the operaror entered by the user using Joption

Posted by on

Ad

## 1 Answer

• Level 3:

An expert who has achieved level 3 by getting 1000 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

• Master
• 871 Answers

You can dowload the latest Java if you have issues regarding with your java installed.

visit http://java.com/en/

hope this helps.

Posted on Jan 22, 2008

Ad

## 1 Suggested Answer

• 2 Answers

Hi,
A 6ya expert can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
The service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
Good luck!

Posted on Jan 02, 2017

Ad

## Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video.

×

Loading...

## Related Questions:

1 Answer

### When the product of 4 and 4 is divided by the sum of 4 and 4 what is the quotient?

the Quotient is the answer to a division problem. so

(4 X 4) / (4 +4) =
16/8=
2
so the quotient is 2

Aug 06, 2015 | Computers & Internet

1 Answer

### What is the sum if the quotient of 2/3 and 7/12 is added to 17/14

Proceed step by step.
Quotient of (2/3) by (7/12) =(2/3)/(7/12)=(2/3)*(12/7)=8/7
Sum of 8/7 and 17/14 is 8/7+17/14=16/14+17/14=(33/14)

Sep 22, 2014 | Office Equipment & Supplies

1 Answer

### What does product mean in maths

When you perform an arithmetic operation such as addition, subtraction, multiplication, or division the result has a specific name. The result of addition is called the sum; the result of a subtraction is called the difference; the result of multiplication is the PRODUCT. Finally the result of a division is the quotient.

Apr 21, 2013 | ASUS Eee Computers & Internet

1 Answer

### What does poduct mean in maths

When you perform an arithmetic operation such as addition, subtraction, multiplication, or division the result has a specific name. The result of addition is called the sum; the result of a subtraction is called the difference; the result of multiplication is the PRODUCT. Finally the result of a division is the quotient.

Apr 21, 2013 | Office Equipment & Supplies

1 Answer

### HOW I CAN FIND THE DATA OF A PERSON THROUGH COMPUTER?

if you know the name of some of the data or at least part of it
click start type in to search press enter it will take you to the data / file
this will differ dependeng on your operating system

hope it helps

Sep 12, 2012 | HP Computers & Internet

1 Answer

### Program that will accepts 2 numbers and will display the sum,difference,product and quotient by the use of flow chart?

You can do this pretty easily in a spreadsheet program such as excel, open office or numbers on a mac. Simply use two cells for the numbers you would like as an input and then input formulas for the sum, difference, product and quotient in 4 other cells. Examples:

(This assumes you use A1 and B1 to hold your input numbers)
For sum you would input the formula: =A1+B1
For difference: =A1-B1
For product: =A1*B1
For quotient: =A1/B1

To get this into a flowchart simply go into "Insert > Chart" and select the chart you want to use with the correct options.

I hope this helps, if it does, please give a thumbs up!

Jun 28, 2011 | Computers & Internet

5 Answers

### Problem solving Strategy guess and test

The two numbers 3 and 24

3 multiplied by 24 =72
24 divided by 3 =8

Enjoy, and thanks for choosing Fixya!

Mar 20, 2009 | M2K Garfield: It's All About Math Math...

1 Answer

### How i make calculator by using source code in c++?

hi,
here is the code u looking for

#include <iostream.h>
using namespace std;
float sub (float a, float b)
{
float dif;
dif=a - b;
return dif;
}

float addition (float c, float d)
{
float sum;
sum=c+d;
return sum;
}

float divi (float e, float f)
{
float quo;
quo = e/f;
return quo;
}
float multi (float f, float g)
{
float pro;
pro=f * g;
return pro;
}

int main ()
{
float a;
float b;
float opt;

cout << "Welcome to the calculator" << endl;
cout << "There are four options " << endl;
cout << "Option 1 is subtraction, Option 2 is addition, option 3 is division, and option 4 is multiplication " << endl;
cout << "Enter your option and two digits " << endl;
cin >> opt >> a >> b;

if (opt == 1)
{
float temp= sub (a, b);
cout << "Your difference is " << temp << endl;
}

else
if (opt==2)
{
float temp2= addition (a, b);
cout << "Your sum is " << temp2 << endl;
}
else
if (opt == 3)
{
float temp3= divi (a,b);
cout << "Your quotient is " << temp3 << endl;
}
else
if (opt == 4)
{
float temp4= multi (a,b);
cout << "Your product is " << temp4 << endl;
}
else
{
cout << "That function is not supported in calculator!" << endl;
}
cout << "Thank you for using calculator" << endl;

return 0;
}

Thanks!

Mar 19, 2009 | Microsoft Computers & Internet

## Open Questions:

#### Related Topics:

43 people viewed this question

## Ask a Question

Usually answered in minutes!

Level 3 Expert

18424 Answers

Level 3 Expert

7733 Answers

Level 3 Expert

14162 Answers

Loading...