uhd
posted by sardar .
int carry=0;
int prod,i,j,rem;
int base=10;
else if ( op == '*' ) //checks for operator, performs array multiplication
{
for(i=size1; i>1;i)
{
for(int j=size1; j>1;j)
{
prod =firNum[i]*secNum[j];
prod += carry;
if(prod>=base)
{
carry = (prod/base);
prod = (carry*base);
}
else
{
carry = 0;
final[i+j] += prod;
if(final[i+j] >= base)
{
rem = (final[i+j]/base);
final[i+j] = rem*base;
carry += rem;
}
if(final[i+j] >= base)
{
final[i+j1] += (final[i+j]/base);
final[i+j] = final[i+j] % base;
}
}
}
}

If you really want an expert to help you, be sure to follow directions and type your subject in the School Subject box. Any other words, including obscure abbreviations, are likely to delay responses from a teacher who knows that subject well.

The program will not compile, because many variables are undefined (for C/C++/C# or Java).
You will need to define a variable before first use.
Also, an if statement cannot start with "else if".
Perhaps you have missed out a part of the code.
Respond to this Question
Similar Questions

Computers
//program that puts two lists in order in one single list with all the numbers in order import java.util.Scanner; public class listOrder { public static void main (String [] args){ int [] list1; int [] list2; int [] list3; int temp; … 
C#
5) Suppose you have declared an integer array named scores and you make the following method call: TotalScores(scores, num : 1); Of the following overloaded method definitions, which would execute? 
computer science
int *reverse(const int *, int); int *temp; temp = reverse(arr1,N); int *reverse(const int *arr1, int N) { int *arr2; arr2 = new int[N]; for(int count = 0; count < N; count++) { for(int index = (N1); index <= 0; index) arr2[count] … 
computer science
9.10: Reverse Array Write a function that accepts an int array and the array’s size as arguments. The function should create a copy of the array, except that the element values should be reversed in the copy. The function should … 
computer
If int main() { int a=1; int *p; how do the following statements differ 1) p=&a; 2) *p=&a; 3) p=a; 4) printf("%d",p); 5) printf("%d",*p); and what does int **a mean 
pre calc
how do uu find the x int. , y int. , domain range asytote of this equation y=log to the base 10 (2x+3/x5) pleaseee need to understand before the test tmr!!!! 
english
can PROD rhyme with LORD in phonetics 
programming
– Define a structure called Object which includes three doubles specifying the object’s mass, volume and density. – Create an array of 10 Objects. – Define the function void scanobjectsdata(struct Object objects[], int size) … 
calculus
use symmetry to evaluate the double integral (1+x^2siny+y^2sinx)dA, R=[pi,pi]x[pi,pi]. let g(x) and h(y) be two functions: int(c to d)int(a to b)(g(x,y)+h(x,y))dxdy=int(c to d)int(a to b)g(x,y)dxdy+int(c to d)int(a to b)h(x,y)dxdy 
Java Programming
Hey! Thanks for checking my question out! ____ 10. If x is a sorted array of int values, which of the following shows a call to a method of the Arrays class that will determine if the value 7 exists in the array?