write a c program to convert fahrenheit to celsius?
Answer Posted / azad sable,chiplun.
void main()
{
float fr,cent;
clrscr();
printf("enter the tempreture in F");
scanf("%f",&fr);
cent=5.0/9.0*(fr-32);
printf("\nTempreture in centigrade=%f",cent);
}
getch();
}
Is This Answer Correct ? | 24 Yes | 3 No |
Post New Answer View All Answers
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
a c code by using memory allocation for add ,multiply of sprase matrixes
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
Where is volatile variable stored?
Why is python slower than c?
What is the difference between malloc() and calloc()?
List the variables are used for writing doubly linked list program.
Can you write a programmer for FACTORIAL using recursion?
Which header file is essential for using strcmp function?
How do you define a function?
What does c mean?
What are multidimensional arrays?
Explain About fork()?
write a program to generate address labels using structures?