Humor
Re: Humor
Sure. Pres Ego has to do his thing.
President "Beat A Dead Horse"
Who actually believes any of this stuff, found or not found, any more. It's good everything is peachy in our country otherwise we should be expecting something different from our leadership.
President "Beat A Dead Horse"
Who actually believes any of this stuff, found or not found, any more. It's good everything is peachy in our country otherwise we should be expecting something different from our leadership.
Re: Humor
Intended to return the square of a number
The parameter n is passed and is the number to square
There is a while loop with no termination condition
while(true)
It checks for the value of variable k to equal square of the past parameter to square
k == n*n
If true it returns k which is the square of n and leaves the loop
it starts k at 0 and each interration it is incremented by 1
So k eventually will match the square of n
It could just
return n*n
Basically a WTF?
I works but the guy doesn't even know why ( or what he is doing )
The parameter n is passed and is the number to square
There is a while loop with no termination condition
while(true)
It checks for the value of variable k to equal square of the past parameter to square
k == n*n
If true it returns k which is the square of n and leaves the loop
it starts k at 0 and each interration it is incremented by 1
So k eventually will match the square of n
It could just
return n*n
Basically a WTF?
I works but the guy doesn't even know why ( or what he is doing )