C Program for Sum of First N Natural Numbers
The program adds first N natural numbers (starts from 1) and prints the sum in the console. We wrote this program using Dev C++ version 4.9.9.2 on a Windows 7 64-bit system. You may try other standard C compilers to run the program with modifications. Learn following c programming concepts before you attempt this example … Read more