jituTechnology

jituTechnology

C Programming

Write a program to add first seven terms of the following series using loop 1/1!+2/2!+3/3!+…

Here is the c source code/program for: Write a program to add first seven terms of the following series using loop 1/1!+2/2!+3/3!+… /* write a program to add first seven series using for loop programmed by: Name: Jitendra kumar Yadav Roll: 16 Date: 12 feb 2011 */ #include <stdio.h> #include <conio.h> void main() {      […]

read more

Write a program to read N number of person’s ages in an array and print minimum,maximum and average age

/*program to read N number of person’s ages in an array and print minimum,maximum and average. programmed by: Name: JItendra Kumar Yadav Roll: 10116 Dtae 29 th march 2011 */ #include <stdio.h> #include <conio.h> void main () { int i,j,n; int sum=0; int max,min; float avg; int age[100]; printf(“Enter the number of people “); scanf […]

read more

A program to print the direct and indirect address and its content using “address of operator” and “indirection operator

A program to print the direct and indirect address and its content using “address of operator” and “indirection operator”. Codes /*A program to print the direct and indirect address and its content*/ /*Programed by          Jitendra Kr Yadav                         10116                         2 Apr,2011*/ #include<stdio.h> #include<conio.h> main() { int x; int *pt; printf(“Enter the number: “); scanf(“%d”,&x); […]

read more

Write a program to sort the data in ascending and descending order using selection sort.

/*program to sort the data in  ascending order using selection sort. Programmed by :Jitendra Kumar Yadav roll ni.: 10116 programmed on.: 21st mar,2011*/ #include <stdio.h> #include <conio.h> void main() { int i,j,temp; int arr[10]={2,1,6,5,8,4,9,7,10,3}; for (i=0;i<9;i++) { for (j=i+1;j<9;j++) { if(arr[i]>arr[j])//for descending change > to < { temp = arr[i]; arr[i] = arr[j]; arr[j] = […]

read more

The Sin of X can be calculated approximately by using the first n terms of the infinite series

The Sin of X can be calculated approximately by using the first n terms of the infinite series( X is expressed in radians, /*program to find sine of x can be calculated approximately by using the firstn terms of the infinite series. Programmed by : kiran shrestha roll no. : 10121 Programmed on : 6th […]

read more


Connect with Me

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

Calendar

October 2019
S M T W T F S
« Jun    
 12345
6789101112
13141516171819
20212223242526
2728293031