Di bawah ini program C++nya :
#include <iostream>
#include <string>
using namespace std;
int main()
{
string raptor_prompt_variable_zzyz;
int R;
int K;
int C;
int F;
raptor_prompt_variable_zzyz ="masukkan besar suhu (C):";
cout << raptor_prompt_variable_zzyz << endl;
cin >> C;
R =4/5*C;
F =9/5*C+32;
K =C+273;
cout << R << endl; cout << F << endl; cout << K << endl;
system ("pause");
return 0;
}
Tidak ada komentar:
Posting Komentar