Added: 4 years ago
From: dougieo1991
Views: 7,919
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (23)

Sign In or Sign Up now to post a comment!
  • I remember learning this in computer science class in high school

  • here is your answer, duble click the button and paste this code: TextBox1.Text = Val(TextBox1.Text) ^ (1 / 2)

  • this is a world changing algorithm, send it to nasa now

  • you are a genius sir

  • Does the agreement allow you to write your own power function?

    That way, it would've worked for a lot more numbers))

  • it is a cute calculator. My baby loves it.

  • loser

  • Woow you are an idiot

  • That was the stupidest program that I ever saw...

  • @Biltrax2 Yea...so dumb ;p

    

  • You know u shouldn't have showed the code if you wanted people to believe this. :P

  • @Deep40000 yea really all u fucking did was put in numbers and specific numbers at that and their square roots. I know if I entered any other number i would get shit.

  • @Deep40000 LOL :D I AGREE

    

  • just looks like a java script program, not that hard to make

  • hehe, yeah...

    keep in mind the purpose of this video is to be funny, not to show off my programming skill (which doesnt necessarily exsist)

  • This program just takes the square roots of 4, 9, 16, and 25... nothing else :P

  • Yeah :P Pretty cheating! :P

  • man you are a "good" programmer.... :D

  • poor.

  • You could still have done it with division, if quotient less than zero stop, but if not keep incrementing your divisor? until either it is equal to a whole number (you have to use a recursive step) or the number is less than zero, or you could do it with multiplication until your incremented number is greater after the squaring than the number you're examining

  • The challenge is a lot simpler if we're restricted to integers (that is, if the square roots have to be integers).

  • Thats cheating :P

  • download the video? the Program? the Code?

  • the program.

  • This is cool, anyway i can download this?

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more