product of 3 x 15
You don't need an array for that. Just do the multiplication, for example: result = factor1 * factor2; Or: result = 5 * 8;
Using the digits, we can make 81 x 62 equals 5022, which is the largest possible product. To make the smallest possible product, do 268 x 1 = 268.
24 = 23 x 3
225 = 32 x 52
252 2x126 2x2x63 2x2x3x3x7
// Assuming you dynamically allocated this array using "new"... delete array[arraysize - 1]; arraysize--;
To write a C++ program to display the student details using class and array of object.
You don't need an array for that. Just do the multiplication, for example: result = factor1 * factor2; Or: result = 5 * 8;
If you are using an array : sort using qsort() then take middle element.
public static int[] reverseArray(int[] array) { int i = 0, j = array.length - 1; for (i = 0; i < array.length / 2; i++, j--) { int temp = array[i]; array[i] = array[j]; array[j] = temp; } return array; }
You can write a C++ fib pro using arrays but the problem is the prog becomes very complicated since u need to pass the next adding value in an array.....
write ashell script to add awo matrix using array.
There are many ways to write a paragraph by using description. Simply be creative and include all of the information you'd like.
write an assembly language program to find sum of N numbers
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
truzi i Ghal
You can do 4 rows and 13 columns and you get 52. product = sizeof (char [4][13]); of course it is just a joke, in actual code you write product = 4*13;