Fahrenheit to Celsius (ºF to ºC)





Answer: Source Code

#include<stdio.h>
main()
{
float farenheit,celsius;
printf("Enter the temp of city in Farenheit:");
scanf("%f", &farenheit);
celsius = (5.0/9.0) * (farenheit-32);
printf("Temperature in Celsius: %f",celsius);
}

25 comments:

  1. Appreciation for nice Updates, I found something new and folks can get useful info about BEST ONLINE TRAINING

    ReplyDelete
  2. This site having lots of traffic and users. So why not are you thinking for personal own domain. It will increase your website rank. Please visit for low cost but high bandwidth domain: http://www.iwrahost.com. Its a Web hosting in cheap.

    ReplyDelete
  3. #include
    main()
    {
    float farenheit,celsius;
    printf("enter the temp of city in celsius:");
    scanf("%f",&celsius);
    farenheit=(9/5)*(celsius+32);
    printf("temperatur in celsius:%f",kcelsius);
    }
    #include
    main()
    {
    float farenheit,celsius;
    printf("enter the temp of city in celsius:");
    scanf("%f",&celsius);
    farenheit=(9/5)*(celsius+32);
    printf("temperatur in celsius:%f",kcelsius);
    }
    #include
    main()
    {
    float farenheit,celsius;
    printf("enter the temp of city in celsius:");
    scanf("%f",&celsius);
    farenheit=(9/5)*(celsius+32);
    printf("temperatur in celsius:%f",kcelsius);
    }

    ReplyDelete
  4. #include
    void main()
    {
    float farenheit,celsius;
    cout("enter the value of farenheit:"\n);
    cin("%d",&farenheit);
    cout("enter the value of celcius:\n");
    cin("%d",&celcius);
    celcius=(5/9)*(farenheit-32);
    cout("temperature in celcious:%f%);
    }

    ReplyDelete
  5. #include
    using namespace std;

    int main()
    {
    float f,c;
    cout<<"Enter Fahrenheit degree to find temperature in celsius: ";
    cin>>f;
    c = (f-32)/1.8;
    cout<<"\n\n\tCELSIUS DEGREE = "<<c;
    }

    ReplyDelete
  6. #include
    using namespace std;

    int main()
    {
    float f,c;
    cout<<"Enter Fahrenheit degree to find temperature in celsius: ";
    cin>>f;
    c = (f-32)/1.8;
    cout<<"\n\n\tCELSIUS DEGREE = "<<c;
    }

    ReplyDelete
  7. #include
    using namespace std;

    int main()
    {
    float f,c;
    cout<<"Enter Fahrenheit degree to find in celsius: ";
    cin>>f;
    c = (f-32)/1.8;
    cout<<"\n\n\tCELSIUS DEGREE = "<<c;
    }

    ReplyDelete
  8. shah syed mohammad fehir id:201520314
    #include
    using namespace std;
    int main()
    {
    float c,f;
    cout<<"Please input the temperature:";
    cin>>f;
    c=(5.0/9.0)*(f-32);
    cout<<"cel:"<<c;
    return 0;
    }

    ReplyDelete
  9. #include
    using namespace std;

    int main(){
    float farenheit,celsius;
    cout<<"Enter the temp in Farenheit: ";

    cin>>farenheit;

    celsius = (5.0/9.0) * (farenheit-32);

    cout<<endl<<"Celcius temp is: "<<celsius<<endl;
    return 0;
    }

    ReplyDelete
  10. #include
    using namespace std;

    int main ()
    {
    float farenhit,celsius;
    cout <<"Enter the value of farenhit:";
    cin >>farenhit;
    celsius=(farenhit-32)/1.9;
    cout <<"Farenhit"<<farenhit<<"To farenhit is"<<celsius;
    return 0;
    }

    ReplyDelete
  11. Appel mahmud akib. Id:201510384


    #include
    using namespace std;
    int main()
    {
    float far,cel;
    cout<<"Input Temperature in farenheit: ";
    cin>>far;
    cel=(5.0/9.0) * (far-32);
    cout<<"Your temperature in celcius: "<<cel;
    }

    ReplyDelete
  12. #include
    using namespace std;
    int main()
    {
    float far,cel;
    cout<<"Input Temperature in farenheit: ";
    cin>>far;
    cel=(3.0/8.0) * (far-32);
    cout<<"Your temperature in celcius: "<<cel;
    }

    ReplyDelete
  13. #include
    using namespace std;
    int main()
    {
    float far,cel;
    cout<<"Input Temperature in farenheit: ";
    cin>>far;
    cel=(5.0/9.0) * (far-32);
    cout<<"Your temperature in celcius: "<<cel;
    }

    ReplyDelete
  14. using c++

    #include

    using namespace std;

    double func(double i)
    {
    double cel;
    cel = (i-32)/1.8;
    return cel;
    }

    int main()
    {
    double a;
    cout << "Enter you Fahrenheit data --: ";
    cin >> a;
    cout << "Your result Fahrenheit to Celsius is --: " << func(a) << "\n";
    return 0;
    }

    ReplyDelete
    Replies
    1. mention ur id in comment section on your source code

      Delete
  15. #include

    using namespace std;\

    int main()

    {
    float far, cel;
    cout << "Enter your farenheit value --:";
    cin >> far;
    cel = (far - 32)/1.8;
    cout << "Farenheit " << far << " to farenheit is " << cel;
    return 0;
    }

    ReplyDelete
  16. Using C++
    #include
    using namespace std;
    int main()
    {
    float fahrenheit,celsius;
    cout<<"Enter the fahrenheit ";
    cin>> fahrenheit;
    celsius = (5.0/9.0)*(fahrenheit -32);
    cout<<"Temperature in celsius :" <<celsius;
    return 0;
    }

    ReplyDelete
  17. using c++

    #include
    using namespace std;
    int main()
    {
    float far,cel;
    cout<<"Input Temperature in farenheit: ";
    cin>>far;
    cel=(5.0/9.0) * (far-32);
    cout<<"Your temperature in celcius: "<<cel;
    }

    ReplyDelete
  18. #include
    using namespace std;

    int main()
    {
    double farenheit,celsius;

    cout <<"Enter the farenheit: "<< endl;
    cin >>farenheit;
    celsius = (farenheit-32)/1.8;
    cout <<"The celsius is: "<<celsius<< endl;
    return 0;
    }

    id:201510992

    ReplyDelete
  19. #include
    using namespace std;
    int main()
    {
    float f,c;
    cout<<"Enter the temp in Farenheit: "<>f;
    c=(5.0/9.0)*(f-32);
    cout<<"Celcius temp of " << f << " Farenheit is : " << c<<endl;
    return 0;
    }

    ReplyDelete
  20. #include
    int main(){
    float f,c;
    printf("enter the integer farenheit value=");
    scanf("%f",&f);
    c=((f-32)*5)/9;
    printf("%.2f\n",c);

    }

    ReplyDelete
  21. mausumi sumi
    #include
    using namespace std;
    int main(){
    float f,c;
    cout<<"enter the temparature in farenheit"<<f;
    c=(5.0/9.0)*(f-32);
    cout<<"celcious temparature of"<<f<<"farenheit is:"<<c<<endl;
    }

    ReplyDelete
  22. #include
    int main()
    {
    float Farenhite,Celsius;
    printf("Enter Your Value\n");
    scanf("%f",&Farenhite);
    Celsius=((5*Farenhite)/9)-32;
    printf("%f",Celsius);
    return 0;

    }


    ReplyDelete