C Program To Check An Armstrong Number

This C program checks an input number whether it is an Armstrong number on not and prints the results. An Armstrong number is special number sum of the nth power of its every digit is equal to the original number. The n is the number of digits in the input number. This concept is explained … Read more

C Program To Find Reminder And Quotient

This program uses a division operator on two input numbers. The output is a quotient and a remainder is printed to the console. We compiled the program using Turbo C++ 3.0 running in a DOS Box 0.74  on a Windows 7  64-bit system. You may try the program using a different standard C compiler, but … Read more

C Program To Find Permutation And Combination

The C program to find permutation and combination solves 4 different types of problems. The permutation problems are arrangement problems and the combination problems are selection problems. You will more details about each type of problem in the problem definition section. The list of problems is given below -permutation of a set of distinct objects … Read more

C Program For GCD Of Two Numbers

This is a simple program to find the Greatest Common Divisor (GCD) of two given positive numbers. We wrote and compiled the program on Dev-C++ version 5( beta) compiler installed on a Windows 7 64-bit machine. If you want to try a different C compiler, make sure to modify the existing source code to get … Read more

C Program To Compute Cosine Series

The program to compute cosine series is based on the mathematical concept of sequences and series – particularly power series. The program is compiled using Dev-C++ compiler, but you can use any standard C compiler to compile and run the program. Make sure that you change the source code appropriately according to your compiler specifications. … Read more

C Program To Find Average Age

This program finds the average age of a person using an array. The array which stores a list of age is passed on to a function and the function computes the average age and returns a value. Before you begin with the example, learn basic concepts of C programming language such as arrays, function, and … Read more

C Program To Output Current Date And Time

C programming language has several predefined macros. In this article we will demonstrate the usage of two important macros. Before you begin with the example, learn C programming basics. If you know them already, skip and continue with the examples. C Printing Outputs. C Reading Input Values. C Strings. C Library String Functions. Problem Definition … Read more

C Program To Write A File

C programming allows to read or write files. In this program, a user will enter some text which will be stored in a file using file operations in C. Learn C programming concepts, before you begin with this example. C Printing Outputs. C Reading Input Values. C Pointers. C File Input-Output. Problem Definition The program … Read more

C Program To Compute Sum Of Geometric Progression

This program receive two numbers and compute the sum of geometric progression. The program implements the geometric progression and output the results when it receives the inputs. Learn C programming concepts before you start with this example program. Continue reading if you are familiar with the basics. C Program Structure. How to Install Turbo C++ … Read more

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.