#include <iostream> #include <string> using namespace std; int main() { string raptor_prompt_variable_zzyz; int x; int y; int z; int maks; raptor_prompt_variable_zzyz ="masukkan X : "; cout << raptor_prompt_variable_zzyz << endl; cin >> x; raptor_prompt_variable_zzyz ="masukkan Y :"; cout << raptor_prompt_variable_zzyz << endl; cin >> y; raptor_prompt_variable_zzyz ="masukkan Z :"; cout << raptor_prompt_variable_zzyz << endl; cin >> z; maks =x; if (y>maks) { if (y>z) { cout << "bil maks : " <<y<< endl; } else { cout << "bil maks :"<<z << endl; } } else { if (z>maks) { cout << "bil maks :"<<z << endl; } else { cout << "bil maks :"<<x << endl; } } system("PAUSE"); return EXIT_SUCCESS; }