answersLogoWhite

0


Best Answer

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

result = factor1 * factor2;

Or:

result = 5 * 8;

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

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...
Submit
Still have questions?
magnify glass
imp
Related questions

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 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


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?


When you write a number as a product of prime numbers?

A number as a product of prime numbers would be "x".


Write 24 as a product of prime numbers?

2x2x2x3


Write 60 as a product of its prime numbers?

2x2x3x5


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

2x2x3x3x3


How do you write 10000 as a product of three numbers?

bob saget