Evaluating Postfix Expression Using Stack

Previous Next The postfix expression is a notation for expression used in computers where operator comes after the operands in the expression. It is also known as reverse polish notation. In this example, you will learn evaluating postfix expression using stack. Suppose A and B are two operand and '+' is the operator. We humans … Read more

C Program To Check A Palindrome String

This C program checks a given string whether it is a palindrome or not. The string is read from left to right and right to left and each character is matched. If all the characters in the input string match correctly, then it is a palindrome string, otherwise not. This program is written using Dev … Read more

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 Check Eligibility of Students for Engineering or Medical Admission

This program is a mini-project in C programming written using Dev C++ version 5, you can use any standard C compiler to compile the following program. To help you understand this program, we have the following sections – problem definition, flowchart, program source code, and verified output. In this C program, we want to compute … 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 Draw A Rectangle

The C graphic header file has a builtin function to draw various geometric shapes such as lines, circles, polygons, and quadrilaterals. In this article, you will learn to draw a rectangle using C programming graphics support. Problem Definition To draw the rectangle using C graphics support, we write a program that does the following: Declare … 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.