برنامج c++ لتحويل درجة الحرارة من سيليسيوس الى فهرنهايت


برنامج c++ لتحويل درجة الحرارة من سيليسيوس الى فهرنهايت

input: celsius tempreture

output: fahrenheit tempreture

process:fahrenheit=(celsius*9)/5+32

الأجوبة

ابحث عن مسائل برمجة سي بلس بلس | C++ programming بالانجليزي

 

#include <iostream>

using namespace std;

int main()
{
    double celsius, fahrenheit;
    cout<<"enter tempreture in celsius:";
    cin>>celsius;
    fahrenheit=(celsius*9)/5+32;
    cout<<"fahrenheit tempreture is "<<fahrenheit;
    return 0;
}

محتاج مساعدة؟ تواصل مع مدرس اونلاين الان!