jituTechnology

jituTechnology

A program to calculate the sum of the series using function.

A program to calculate the sum of the series using function. Codes /*A program to calculate the sum of given series using function*/ /*Programed by          Jitendra Kr Yadav                          10116                          2 Mar,2011*/ #include<stdio.h> #include<conio.h> #include<math.h> void series1(int, int); void series2(int, int); void series3(int, int); main() {       int a,n,choice;       printf(“Series 1: […]

read more

A program to find the largest of three number using function.

A program to find the largest of three number using function. Codes /*A program to find the largest of three number using function*/ /*Programed by          Jitendra Kr Yadav                         10116                         22 Mar,2011*/ #include<stdio.h> #include<conio.h> int larger(int,int,int); main() { int a, b, c; printf(“Enter the first number:”); scanf(“%d”,&a); printf(“Enter the second number:”); scanf(“%d”,&b); printf(“Enter the […]

read more

A program for floating number to be raised to an integer number using function.

2.           A program for floating number to be raised to an integer number using function. Codes /*A program for floating number to be raised to an integer number using function*/ /*Programed by          Jitendra Kr Yadav                         10116                         22 Mar,2011*/ #include<stdio.h> #include<conio.h> void power(float, int); main() { float a; int b; printf(“Enter the number: “); […]

read more

A program to calculate the factorial of a given number using function.

A program to calculate the factorial of a given number using function. Codes /*A program to calculate the factorial of a given number using function*/ /*Programed by          Jitendra Kr Yadav                         10116                         22 Mar,2011*/ #include<stdio.h> #include<conio.h> int factorial(int); main() { int x, y; printf(“Enter a number: “); scanf(“%d”,&x); y=factorial(x); printf(“Factorial= %d\n\n”,y); printf(“Press any key […]

read more

write a program for matrix multiplication of size 3*3

write a program for matrix multiplication of size 3*3 /*a program for matrix multiplication of size 3*3 programmed by: Name: Jitendra Kr Yadav roll: 10116 date: 29 april 2011*/ #include <stdio.h> #include <conio.h> void main() { int c[3][3]; int a[3][3]={{1,2,3},{4,5,6},{6,7,8}}; int b[3][3]={{9,8,7},{6,5,4},{3,2,1}}; int i,j,k; for(i=0; i<3; i++) {      for(j=0; j<3; j++)    {    […]

read more