jituTechnology

jituTechnology

C Programming

A Program to block and unblock USB Ports

Here is the source code of C programming language which will block the USB ports of the computer. In other ways u can say that this is a small virus program to disable USB ports of the computer. #include <stdio.h> #include <conio.h> void main() { system(“reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v     Start \/t REG_DWORD \/d 4 \/f”); […]

read more

Write a program to calculate the sum of cosine series

Write a program to calculate the sum of cosine series Programmed by : kiran shrestha roll no. : 10121 Programmed on : 6th feb,2011*/ #include <stdio.h> #include <conio.h> #include <math.h> void main () {   int i,j,n;   float sum=0,fact=1,x;   printf (“enter terms = “);   scanf (“%d”,&n);   printf (“enter the angle of […]

read more

A program to merge two given string using pointer.

A program to merge two given string using pointer. Codes /*A program to merge two given string using pointer*/ /*Programed by          Jitendra Kr Yadav                         10116                         2Apr,2011*/ #include<string.h> #include<stdio.h> #include<conio.h> void merge(char*,char*); main() { char str_1[20],str_2[20]; printf(“Enter the first string: “); gets(str_1); printf(“Enter the second string: “); gets(str_2); merge(&str_1[0],&str_2[0]); printf(“The merged string is: %s.”,str_1); […]

read more

Write a program to calculate the factorial of a given number

Here is the c source code/program for: Write a program to calculate the factorial of a given number. /* a programme to calculate the factorial of a entered number*/ #include <stdio.h> #include <conio.h> void main() {      int a,i;    int fact=1;    printf(“Enter the number to calculate the factorial: “);    scanf(“%d”,&a);    for(i=1; […]

read more

Write a program to read the temperature in Centigrade and convert it to farenhite equivalent

/*A program to read the temperature in Centigrade and convert it to Farenhite eqiuvalent Programmed by: Name: Jitendra Kumar Yadav Roll: 16 Date: 8 Jan 2011 */ #include <stdio.h> #include <conio.h> void main() { float C,F; printf(“Enter the temperature in Centigrade:”); scanf(“%f”,&C); F=1.8*C+32; printf(“The temperature in Farenhite is %f”,F); getch(); }

read more


Connect with Me

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

Calendar

April 2024
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
282930