write a programme to convert temperature from farenheit to celcius?
Answer Posted / ramprasad
void main()
{
int a,b,c;
float d;
printf("Enter the farenheit value:");
scanf("%d",&a);
c=a/32;
d=c/1.8;
printf("The celcius value is\n",d);
getch();
}
Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
How do you list a file’s date and time?
Can we declare a function inside a function in c?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
how to construct a simulator keeping the logical boolean gates in c
What is the explanation for modular programming?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What is C language ?
What is the difference between functions getch() and getche()?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
what is the basis for selection of arrays or pointers as data structure in a program
Between macros and functions,which is better to use and why?
Explain what is the benefit of using enum to declare a constant?