C Program to find GCD of N Numbers #include<stdio.h> int main() { printf(“\n\n\t\tC Program for Greatest Common Divisor(GCD)\n\n\n”); int x, […]
Tag: c program example
C Program to create a Menu Driven software using Switch Case
C Program to create a Menu Driven software using Switch Case #include<stdio.h> int main() { printf(“\n\n\t\tMenu driven program in c\n\n\n”); […]
Basic Program of Pointer
Basic Program of Pointer #include <stdio.h> int main() { printf(“\n\n\t\tEduguru – Pointer program\n\n\n”); int var = 24; // actual variable […]
The First Windows Program in C
The First Windows Program in C To keep things simple we would begin with a program that merely displays a […]
C program to print pascal triangle
C program to print pascal triangle #include <stdio.h> long factorial(int); int main() { int i, n, c; printf(“Enter the number of rows you wish to […]
Compare two integers in C
Compare two integers in C Algorithm Let’s first see what should be the step-by-step procedure to compare two integers− START […]
C program for matrix addition
C program for matrix addition #include <stdio.h> int main() { int a, b, c, d; int m1[10][10], m2[10][10], sum[10][10]; printf(“Please […]
Program to Check a whether a Number is Odd or Even using Switch Case
Program to Check a whether a Number is Odd or Even using Switch Case #include<stdio.h> int main(){ int number,remainder; clrscr(); […]
C program to display odd numbers between 1 and 100
C program to display odd numbers between 1 and 100 #include<stdio.h> int main(){ int rem,i; printf(“\n The odd numbers between […]
C program to display the odd digits present in integer
C program to display the odd digits present in integer Odd number can not be divided by 2. The remainder […]