Computer Science, asked by ramarramar85211, 5 hours ago

Write a C Program to convert temperature in celsius to Fahrenheit and vice versa​

Answers

Answered by srishtichandauli
4

Explanation:

C program to convert Celsius to Fahrenheit:

#include <stdio.h>

int main()

{

printf("Enter temperature in Celsius: ");

scanf("%f", &celsius);

//celsius to fahrenheit conversion formula.

fahrenheit = (celsius * 9 / 5) + 32;

printf("%.2f Celsius = %.2f Fahrenheit", celsius, fahrenheit);

Similar questions