Pages

Simple C Language Program to Printf Pythagorean Triples

A simple C language program to print all Pythagorean Triples from 0 to 1000, using loops and if-else statements.

Simple C Program for GCD (GCF) of two Numbers

Here is a simple C program to find the GCD of two numbers. The program makes use of Euclid's GCD algorithm.