Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
20171117_PITAGORAS
#include <stdio.h> #include <stdlib.h> int main() { unsigned long a, b, c; for(a = 1 ; a <= 100 ; a++) { for(b = a + 1 ; b <= 100 ; b++) { for(c = b + 1 ; c <= 100 ; c++) { if(a * a + b * b == c * c) { printf("a: %8lu | b: %8lu | c: %8lu\n", a, b, c); } } } } return 0; }
run
|
edit
|
history
|
help
0
swipe the numbers in cyclic way
A_141211_Tartaglia
Tree
extra causes class UK assisment
project menu
Majeur ou mineur
치카냥3
Présentation
is_there_segfault
Simple Calculator v1.0