Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int i; /* Loop control variable */
- int n; /* The number of elements being stored in the loop */
- int x[20]; /* The array 'x' with 20 element */
- int y[20]; /* The array 'y' with 20 element */
- int tempx; /* Temp value for x */
- int tempy; /* Temp value for y */
- double sum_z, /* The sum of the value */
- cal_z, /* The calculated value of 'z' after the sqrt(sum_z) */
- sentinel, /* Sentinel value (-999) */
- z[20]; /* The array 'z' with the 20 elements */
- i = 0; /* Initialising the value of 'i' */
- sum_z = 0; /* Initialising the value of 'sum_z' */
- sentinel = (-999); /* Stating that value of the sentinel */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement