Best Answer

You don't need an array for that. Just do the multiplication, for example:

result = factor1 * factor2;


result = 5 * 8;

User Avatar

Wiki User

โˆ™ 2011-08-04 14:15:01
This answer is:
User Avatar
Study guides


20 cards

A polynomial of degree zero is a constant term

The grouping method of factoring can still be used when only some of the terms share a common factor A True B False

The sum or difference of p and q is the of the x-term in the trinomial

A number a power of a variable or a product of the two is a monomial while a polynomial is the of monomials

See all cards
865 Reviews

Add your answer:

Earn +20 pts
Q: How do you write an array that computes the product of the two numbers in java?
Write your answer...
Still have questions?
magnify glass
Related questions

Average of 3 numbers using array?

write a programto enter five numbers through keyboard and find average of then using array.

How do you write a description of an array using the product of 3 x 15?

product of 3 x 15

How do you write a program to read set of numbers using by an array and display the ascending order of the given input numbers?

To write a C++ program to display the student details using class and array of object.

Write the product of each pair of numbers?

The product of two numbers is the resulting number when they are multiplied together. As there is an infinite amount of numbers it would be impossible to write out the result of the product of all pairs of numbers

What is the upper limit and lower limit?

write a function which computes product of all the number in a given range(from lower limit to upper limit) and returns the answer

How do you write an assembly language program to find the sum of n numbers using array?

write an assembly language program to find sum of N numbers

Write 24 as a product of prime numbers?


Write 60 as a product of its prime numbers?


How do you Write 108 as a product of prime numbers?


Write a c program to find the maximum of two numbers and print out with its position?

maxValue = function (array) {mxm = array[0];for (i=0; i<array.length; i++) {if (array[i]>mxm) {mxm = array[i];}}return mxm;}; i don't know

Write a program to find largest no out of ten numbers?

intgetLargest(int array[], const int asize) {int largest = array[0];int i;for (i = 1; i < asize; ++i) {if (largest < array[i])largest = array[i];}return largest;}

Could you Write a program for 8086 microprocessor that displays on the monitor the average of 2 numbers from an array?

How to write a program for mouse in microprocessor?

People also asked