C program to determine correction of temperature

                             /*program to determine correction of temperature*/
#include<stdio.h>
#include<conio.h>
void main()
{
float ct,a,tm,to,l;
clrscr();
printf("OUTPUT OF THE PROGRAM\n");
printf("----------------------------\n");
printf("enter the value of measured length in m\n");
scanf("%f",&l);
printf("enter the value of mean temperature during measurement\n");
scanf("%f",&tm);
printf("enter the value of mean temperature at which tape is standardised\n");
scanf("%f",&to);
printf("enter the value of coefficient of thermal expansion\n");
scanf("%f",&a);
ct=a*(tm-to)/l;
printf("correction of temperature=%f m",ct);
getch();
}
              /*OUTPUT*/
Previous
Next Post »