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 reverse order. The final output is a reversed number. We wrote the program using Dev C++ version 4.9.9.2 on a Windows 7 64-bit system.You must be familiar with following c … Read more

C Program To Identify A Quadrilateral

The program to identify a quadrilateral read inputs – length of sides and angles made by the quadrilateral shape and prints the shape name as output.We compiled the program using Dev-C++ compiler installed on a windows 7 64-bit system. You may try another standard C compiler, but make sure to modify the code according to … Read more

C Program For Law Of Sine Problems

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 or the length of a particular side of a triangle. This is a fundamental concept of trigonometry.We used Dev-C++ to compile the program, but you may use any other standard … Read more

C Program to Implement Stack using Linked-List

Previous Next A stack is an abstract data structure where elements are pushed and deleted from only one end. We call this top of a stack.This program implement stack using a linked-list structure. The linked-list is a linear list in which you can enter data only from one end. You must always insert from the … Read more

C Program to Implement a Stack

Previous Next A stack is a common data structure used in many applications. It is an abstract data type defined not by its data type, but by its operations.Stack operations are critical to its implementation. We will create a C++ stack using linked-list in this article.This program demonstrates the implementation of a stack and its … Read more

C Program to find Area of a Triangle

The program computes the area of triangle once he user enters input values for the triangle. The inputs for the triangle are the length of base and height of the triangle.We compiled this program using Dev-C++ compiler installed on Windows 7 PC. You can use any standard C compiler if you like, but make sure … Read more

C Program To Count Frequency Of Vowels

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. A C loop with conditions that checks the given input string and count the number of vowels, consonants, and white spaces.We compiled this program using Dev-C++ compiler installed on a Windows … Read more

C Program To Display Student Results

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 (%) as input , process the input value and displays the results (pass or fail) as output.The output depends on the conditional statement in the example program.Learn C programming basics before … Read more

C Program To Compute Nth Fibonacci Number

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 to call itself several times.You can write the program without recursion, but computer science students learn Fibonacci series as an introduction to recursion or recurrence relations. It is a topic … Read more

Ads Blocker Detected!!!

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

Exit mobile version