Addition, subtraction, multiplication and division of two numbers in c programming In this post we will show you how to Addition, subtraction, multiplication and division of two numbers in c programming. flowing code will help you to perform program. // include header file # include <stdio.h> # include <conio.h> // main function void main() { int a,b; int sum,sub,mul; float ...

Calculate Simple Interest in c programming In this post we will show you how to Calculate Simple Interest in c In this post we will show you how to Calculate Simple Interest in c programming. flowing code will help you to perform program. flowing code will help you to perform program. We use this formula for calculation simple Interest : ...

Minimum and maximum out of 3 values in c programming In this post we will show you how to Find Minimum and maximum out of 3 values in c programming. flowing code will help you to perform program. // include header file # include <stdio.h> # include <conio.h> // main function void main() { int x,y,z; clrscr(); // insert number ...

c programming – Swap two variable without using 3rd variable In this post we will show you how to Swap two variable without using 3rd variable in c programming. flowing code will help you to perform program. For Swap two variable without using 3rd variable we use this method :: a=a+b; b=a-b; a=a-b; // include header file # include <stdio.h> ...

c programming for Generate mark sheet of students and class In this post we will show you how to generate mark-sheet of students and class in c programming. flowing code will help you to perform program. hear we calculate result result using 5 subject and calculate percentage of students and assign class to student. // include header file # include ...

c programming – result of Pass ATKT Fail of student In this post we will show you how to generate result of Pass ATKT Fail of student in c programming. flowing code will help you to perform program. // include header file # include <stdio.h> # include <conio.h> // main function void main() { int m1,m2,m3,m4,m5; int pass,fail; clrscr(); printf("Enter ...

c programming – find maximum value in array using pointer In this post we will show you how to find maximum value in array using pointer in c programming. flowing code will help you to perform program. // include header file # include <stdio.h> # include <conio.h> int max(int, int *); // main function void main() { int a[5],i,ans; clrscr(); ...

C Program to Find GCD of two Numbers Examples on different ways to calculate greatest common divisor (gcd) of two integers (vlaue of both positive and negative integers ) using loops and decision making statements in C programing. The HCF (highest common factor) or GCD (greatest common divisor) of two integers is the largest integer that can exactly divide both ...

“Hello World!” in C programming A simple program C to display “Hello, World!” to run. It is a very easy and simple program, it is often used to illustrate the syntax of a programming language for run programs. Program to Display “Hello, World!” #include <stdio.h> int main() { // printf() displays the string inside quotation printf("Hello, World!"); // Exit status ...

Swap value of two variables in c programming In this post we will show you how to A Swap value of two variables in c programming. flowing code will help you to perform program. // include header file # include <stdio.h> # include <conio.h> // main function void main() { int a,b,temp; clrscr(); printf("Enter A: "); scanf("%d",&a); printf("Enter B: "); ...