Capgemini Company Numerical Ability Arithmetic

if x-y + z = 19 , y + z =20 , x-z=3 , find d value of x+4y-5z
a)22 b)38 c)17 d) none

Read Solution (Total 8)

Capgemini Other Question

A thief steals half the total no of loaves of bread plus 1/2 loaf from a bakery. A second thief steals half the remaining no of loaves plus 1/2 loaf and so on. After the 5th thief has stolen there are no more loaves left in the
bakery. What was the total no of loaves did the bakery have at the beginning.
#include
int r();
int main(){
for(r();r();r()) {
printf("%d ",r());
}
return 0;
}
int r(){
int static num=7;
return num--;
}