Answer each of the following review questions:
ask for 11 numbers to be read into a sequence S
for each item e in the reversed sequence of S
compute the value sqrt(abs(e))+5*e
if result is greater than 500
alert user
else
print result
Implement the algorithm in at least two prorgamming languages.
int w, x, y, z;
int i = 4;
int j = 5;
{ int j = 7;
i = 6;
w = i + j;
}
x = i + j;
{ int i = 8;
y = i + j;
}
z = i + j;
int w, x, y, z;
int i = 3; int j = 4;
{ int i = 5;
w = i + j;
}
x = i + j;
{ int j = 6;
i = 7;
y = i + j;
}
z = i + j;