jituTechnology

jituTechnology

C Programming

Write a program to use size of operator to determine the size of different data types.

/*A program to use size of operator to determine the size of different data types programmed by name: Jitendra yadav roll: 16 */ #include <stdio.h> #include <conio.h> void main() { printf(“Integer takes %d bytes of memory in this computer”,sizeof(int)); printf(“\ncharacter takes %d bytes of memory on this computer”,sizeof(char)); printf(“\nFloat takes %d bytes of memory on […]

read more

Write a program to read the weight in Gram and convert it to Kilogram and Gram

/*A propgram to read the weight in gram and convert it to to Kilogram and gram programmed by name: Jitendra yadav roll: 16 */ #include <stdio.h> #include <conio.h> void main() { int kg,gm; printf(“Enter the weight in Gram: “); scanf(“%d”,&gm); kg=gm/1000; gm=gm-kg*1000; printf(“Kg=%d and Gram=%d”,kg,gm); getch(); }

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

Write a program to read the radius of a sphere and compute its surface area and the volume

/*A program to read the radius of a sphere and compute its surface area and the volume programmed by: Name: Jitendra Kumar Yadav Roll No: 16 date: 7 Jan 2011 */ #include <stdio.h> #include <conio.h> #include <math.h> void main() { float r,SA,V; printf(“Enter the radius of a sphere: “); scanf(“%f”,&r); SA=(4*(22*1.0)/7*pow(r,2)); V=((4*1.0)/3*(22*1.0)/7*pow(r,3)); printf(“The surface area […]

read more

Write a program to read the radius of a circle and compute its Area and Circumference

[showmyads]/* A program to read the radius of a circle and compute its area and circumference programmed by: Name: Jitendra Kumar Yadav Roll no: 16 Date: 07 jan 2011 */ #include <stdio.h> #include <conio.h> #include <math.h> // to apply the power rule of mathematic void main() { float A,C,r;//Area may be apter decimal because radius […]

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