C Program to Reverse a Number using Recursion
The program uses recursion to reverse an input number. A function is recursively called to extract each digit from the number and place it in… Read More »C Program to Reverse a Number using Recursion
The program uses recursion to reverse an input number. A function is recursively called to extract each digit from the number and place it in… Read More »C Program to Reverse a Number using Recursion
The program to identify a quadrilateral read inputs – length of sides and angles made by the quadrilateral shape and prints the shape name as… Read More »C Program To Identify A Quadrilateral
With the law of sine, you can find any unknown angle of a given triangle or the length of a particular side of a triangle… Read More »C Program For Law Of Sine Problems
The C program to count the frequency of vowels, consonants and white spaces for a given word or a sentence is a string manipulation program.… Read More »C Program To Count Frequency Of Vowels
The C program to display student results demonstrates the working of conditional statement in the C language. The program takes student’s marks in percentage (%)… Read More »C Program To Display Student Results
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… Read More »C Program for Sum of First N Natural Numbers
The program computes Nth Fibonacci number using a technique called recursion and prints the results. A recursion is the ability of a procedure or function… Read More »C Program To Compute Nth Fibonacci Number
The best way to learn C programming is by practicing lots of example programs.
This example program accepts two input numbers and performs an arithmetic operation such as addition, subtraction, division, multiplication and mod operation on them. The output… Read More »C Program For A Simple Calculator
The program to swap two number uses the simple procedure with a fewer number of variables.The regular swapping procedure contains an extra variable called temp,… Read More »C Program to Swap Two Numbers Without a Third Variable