jituTechnology

jituTechnology

C Programming

A program to sort the data in ascending order using separate function to read, sort and display.

A program to sort the data in ascending order using separate function to read, sort and display. Codes /*A program to sort the data in ascending order using function*/ /*Programed by          Jitendra Kr Yadav                          10116      22 Mar,2011*/ #include<stdio.h> #include<conio.h> void read(int num[],int); void sort(int num[],int); void display(int num[],int); main() { int n[20],x; […]

read more

Program to obtain 3*4 matrix and transpose of it.

/*Q.7.Program to obtain 3*4 matrix and transpose of it. Programmed by: Jitendra Kr Yadav Roll : 10116 Date: 2011/04/10*/ #include <stdio.h> #include <conio.h> void main() { int a[3][4] ={{1,2,3,4},{6,4,7,9},{9,4,2,7}}; int c[4][3]; int i,j; for(i=0;i<3;i++) {      for(j=0;j<4;j++)            {            c[j][i] = a[i][j];          }           printf (“\n”);     }            […]

read more

A program to find the length of given string using pointer and function.

A program to find the length of given string using pointer and function.

  Output Enter the string: Hello there Number of character = 10. Press any key to continue…

read more

Write a program to read the Principle,Time,and Rate nd calculate the Interest and Total Amount

/*A program to read the Principle. Time, and Rate and calculate the Interest and total Amount. Programmed by: Name: Jitendra Kumar Yadav Roll: 16 Date: 8 Jan 2011 */ #include <stdio.h> #include <conio.h> void main() { float P,T,R,I,A; printf(“Enter the principle(P):”); scanf(“%f”,&P); printf(“Enter the Time(T):”); scanf(“%f”,&T); printf(“Enter the Rate(R):”); scanf(“%f”,&R); I=(P*T*R)/100; A=P+I; printf(“The Interest is […]

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


Connect with Me

GPO 8973 NPC 541; Kathmandu Nepal
Phone: +977 9851236800

Calendar

September 2020
S M T W T F S
« Jun    
 12345
6789101112
13141516171819
20212223242526
27282930