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

Read more

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

Read more

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

Read more

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();

Read more

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

Read more