PROGRAM TO CONVERT TEMPERATURE FROM CENTIGRADE TO FAHRENHEIT

/*PROGRAM TO CONVERT TEMPERATURE FROM CENTIGRADE TO FAHRENHEIT*/ #include<stdio.h> #include<conio.h> void main() { float f,c=0; clrscr(); printf(“Enter the temperature in Centigrade: “); scanf(“%f”,&c); f=(9*c)/5+32; printf(“Before conversion:\n”); printf(“\tTemperature in Centigrade was: …

PROGRAM TO CALCULATE SIMPLE INTEREST

/*PROGRAM TO CALCULATE SIMPLE INTEREST*/ #include<stdio.h> #include<conio.h> void main() { float p,r,t,si; clrscr(); printf(“Enter the principle amount: “); scanf(“%f”,&p); printf(“Enter the rate of interest: “); scanf(“%f”,&r); printf(“Enter the time period: …

PROGRAM TO FIND AREA AND CIRCUMFERENCE OF A CIRCLE

/*PROGRAM TO FIND AREA AND CIRCUMFERENCE OF A CIRCLE*/ #include<stdio.h> #include<conio.h> #define pie 3.14 void main() { float r,ar,cir; clrscr(); printf(“Enter the radius of the circle: “); scanf(“%f”,&r); ar=pie*r*r; cir=2*pie*r; …