write a program that will read the temperature in Celsius
and convert that into Fahrenheit.
Answer / umed sharma
This is the easy answer
#include<stdio.h>
#include<conio.h>
void main()
{
float c,f;
printf("\n Enter temperature in celsius");
scanf("%f",&c);
f=(1.8 * c) + 32;
printf("\n temperature in fahrenheit is = %.2f",f);
getch();
}
| Is This Answer Correct ? | 8 Yes | 0 No |
main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); } what is the output?
Write a program to find the given number is odd or even without using any loops(if,for,do,while)
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What does %p mean?
What are the types of data files?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
FIND THE OUTPUT IF THE INPUT IS 5 5.75 void main() { int i=1; float f=2.25; scanf("%d%f",&i,&f); printf("%d %f",,i,f); } ANSWER IS 5 AND 2.25 WHY?
Meaning of () in c
In C, What is the #line used for?
write a program to add two numbers of any size.....(remember any size)
What is an object?
Why is event driven programming or procedural programming, better within specific scenario?