English, asked by 70shruti71sweety2003, 8 months ago

write a program that accept temperature in centigrade and convert into fraenheit and vice versa

Answers

Answered by sanoberifra
1

Answer:

u need multifly by 1.8 add 32

FOLLOW ME

Answered by Cresiadebbie
3

Answer:

Temperature From Fahrenheit To Celsius

#include<stdio.h>

#include<conio.h>

void main()

{

float celsius, fahrenheit;

clrscr();

printf("\n Enter Temp in Fahrenheit : ");

scanf("%f", &fahrenheit);

celsius = (fahrenheit-32) / 1.8;

printf("\n Temperature in Celsius : %.2f ", celsius);

getch();

}

Temperature Conversion From Celsius to Fahrenheit C Program

#include<stdio.h>

#include<conio.h>

void main()

{

float celsius, fahrenheit;

clrscr();

printf("\n Enter Temp in Celsius : ");

scanf("%f", &celsius);

fahrenheit = (1.8 * celsius) + 32;

printf("\n Temperature in Fahrenheit : %.2f ", fahrenheit);

getch();

}

pls follow me

Similar questions