jituTechnology

jituTechnology

Uncategorized

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 to illustrate modulus operator in which second is given as an input and the program converts it to hours, minutes and seconds

/*A program to illustratet the modulus operator in which second is given as an input and the program converts it to houurs,minutes and seconds. programmed by: Name: Jitendra Kumar Yadav Roll: 16 Date: 11 jan 20119*/ #include <stdio.h> #include <conio.h> void main() { int hours,minutes,seconds,z; printf(“Enter the time in seconds: “); scanf(“%d”,&seconds); hours=seconds/(60*60); z=seconds%(60*60);//modulus operator […]

read more

Write a program to find the maximum of two numbers using conditional operators

/*A program to find the maximum of two numbers using conditional operators programmed by: Name: Jitendra Yadav Roll:16 Date: 11 Jan 2011 */ #include <stdio.h> #include <conio.h> void main() { int a,b,max; printf(“Enter the two number a and b\n”); scanf(“%d%d”,&a,&b); max=(a>b)? a:b;//conditionl operator printf(“The maximum of two is %d”,max); getch(); }

read more

Write a program to calculate the mass of air in Automobile tire

/*A program to calculate the mass of air in automobile tire programmed by name: Jitendra yadav roll: 16 */ #include <stdio.h> #include <conio.h> void main() { int V,m,T,P; printf(“Enter the pressure of a tire:”); scanf(“%d”,&P); printf(“Enter the Volume of air in the tire:”); scanf(“%d”,&V); printf(“Enter the temperature of air in the tire:”); scanf(“%d”,&T); m=(P*V)/(0.37*(T+460)); printf(“The […]

read more

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


Connect with Me

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

Calendar

October 2025
S M T W T F S
 1234
567891011
12131415161718
19202122232425
262728293031