Search:

Type: Posts; User: Simar Chhabra

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    1,417

    its ok i just did using python but I'm still...

    its ok i just did using python but I'm still trying to fully understand C so I already knew how to do it
  2. Replies
    14
    Views
    1,417

    Well, Unfortunately, I tried that before and just...

    Well, Unfortunately, I tried that before and just now, and the program failed to execute
  3. Replies
    14
    Views
    1,417

    There was no compiling error. The problem was...

    There was no compiling error. The problem was that it gave incorrect results. The point of the program is to find a pythagorean triplet but in this case it got a large amount of 0's. so for example...
  4. Replies
    14
    Views
    1,417

    it doesn't work...

    it doesn't work...
  5. Replies
    14
    Views
    1,417

    What is wrong with this program?

    What is wrong with this program?

    A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,
    a^2 + b^2 = c^2

    For example, 32 + 42 = 9 + 16 = 25 = 52.
    ...
Results 1 to 5 of 5