Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
20171117_PITAGORAS
#include <stdio.h> int main() { 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("%8ld%8ld%8ld\n", a, b, c); } } } } return 0; }
run
|
edit
|
history
|
help
0
Project 3 Part 1 v2.1
FUNTION3
HelloWorld
pointer_swap
array practice
digitodentrodenumero
Add c
The endless numbers.
Stub Program for Problem 3 HW 2
C assignment due sunday