Friday, March 23, 2007

What C is doing to us

Kuya and I were walking and talking about our debts to each other...

I owe him 71 pesos and so I gave him 100 pesos...

I forgot what is 100-71...
That was so funny and stupid at the same time. 

We really forgot even he does not know the answer. We looked for a claculator but we did not find anything. 

Generating a for loop to imitate a summation..

int num=100-71;
int i;
int sum;


printf("%d", sum);

Output: 29

We really generated a code but then after that we end up using the calculator function in his cellphone...

and got 29.

Stupid ne?

No comments: