C Program to Print Multiplication Table
This is the C program to print multiplication table upto 10,change it in the program to extend it /*———- PROGRAM TO PRINT MULTIPLICATION TABLE ——–*/ #include #define ROWS 5 #define COLUMNS 5 void main()...
This is the C program to print multiplication table upto 10,change it in the program to extend it /*———- PROGRAM TO PRINT MULTIPLICATION TABLE ——–*/ #include #define ROWS 5 #define COLUMNS 5 void main()...
This is the c program to check whether the entered letter is a vowel or not using switch case
This is the C program to find the square root of a number using predefined function,use -lm (linking math) for compiling eg: cc prog.c -lm
This is the C program to check whether a given year is leap year or not.the second program generates leap year within the limit specified Leap Year Generation: #include main() { int i; for(i=1990;i
This is the Implementation of Floyd’s triangle in C,Enter the Number of Lines it will print the Triangle with Number #include main() { int num=1; int i,j,n; printf(“Enter the Number of Rowsn”); scanf(“%d”,&n); for...
This is the C Program which Implements Fibonacci series upto user defined limit n #include int main() { int n; //Variable to store no of terms int first=0; //First term initializing with zero as...
This is the implementation of factorial program in c,using recursion and loops USING FOR LOOP: USING WHILE LOOP:
This C Program finds the value of exponential function e^(x),given x and n #include #include int x; int n,u; int fact(int n) { if (n==1) return (1); else return(n*fact(n-1)); } int findex() { int...
This C program finds the distace between two points using distance formula While compiling use -lm [linking math to incorporate math functions] eg: cc prog.c -lm OUTPUT: Welcome to Distance Formula Finder Software Enter...
This C program finds the sum of individual digits in a number and applies modular function to provide output as day ie:if sum of digits is 3 it prints Tuesday OUTPUT: Enter a three...
Recent Comments