The FaceWAN forums have been archived. Join our Discord server at facewan.com/chat.
← Counter-Strike: Global Offensive Servers

A little puzzle

Started by cheenis · Jul 08, 2016 · 7 replies · 2920 views
Heyo a tiny giveaway for you guys
If you can determine and explain this, ill give you one key. You have until Sunday July 10 at 8pm to solve
If multiple people solve correctly, Ill randomly pick one.

x = 7
y = x + 1

while y < 100

y=y*y

print(y)

WHATS THE OUTPUT OF THIS AND EXPLAIN YOUR REASONING. USING A COMPILER IS PROHIBITED AND ILL KNOW IF YOU USED ONE

GOOD LUCK
x = 7
y = x + 1
y = 7 + 1 = 8

while y < 100
y = y^2

so
y = 8
y = 8^2 = 64
y = 64^2 = 4096

printed would be 4096

idk tho im just a scrub
Lol, not gonna help you with your homework man. Besides, mathyson is pretty much right. The exact output would be:

64
4096
Originally posted by Brainles5, post: 55200, member: 5241:
Lol, not gonna help you with your homework man. Besides, mathyson is pretty much right. The exact output would be:

64
4096

NOT HOMEWORK YOU PLEB IM OFF SCHOOL ANYWAYS

I just wanna giveaway stuff
Originally posted by cheenis, post: 55201, member: 5621:
NOT HOMEWORK YOU PLEB IM OFF SCHOOL ANYWAYS

I just wanna giveaway stuff


Give it to me then.
sNAFU UFANs

I am 71% addicted to Counterstrike.
Originally posted by *sNAFU, post: 55202, member: 5137:
Give it to me then.

Nah he's giving it to me.
It's rigged in my favor.

So Uh since two people got it right. I randomized them and Brainles5 won, so msg me when you can so I can send you nudes
cheenis: check your trade offers
cheenis: coongrats ur a weiner
Brainles5: I wanna thank my dad and mom for always believing in me
Brainles5: And i wanna thank the jury for recognizing my work
Brainles5: *Holds up key*
Brainles5: Wew lad
cheenis: beautiful
← Previous Thread
PSA *Dj Khaled Voice* Another One
Next Thread →
Competition to win skin! ($50-$100)