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
What do you know about the use of bit field?
Is it better to use malloc() or calloc()?
What are high level languages like C and FORTRAN also known as?
Can you please explain the difference between exit() and _exit() function?
What does c mean in standard form?
What are types of functions?
How do you define a string?
Explain a file operation in C with an example.
Describe how arrays can be passed to a user defined function
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
Is c dynamically typed?
How variables are declared in c?
When we use void main and int main?
What does %d do in c?
Write a program of advanced Fibonacci series.