algoritmma3.2

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> using namespace std; // nama : yoga dwi kurniawan // nim : 3420230019 int main() { int x, y; cout << "----------------------------------------\n"; cout << "Masukkan Nilai X\t:\n";cin>> x; cout << "Masukkan Nilai Y\t:\n";cin>> y; cout << "----------------------------------------\n"; cout << "\nNilai X adalah\t\t: " << x << endl; cout << "Nilai Y adalah\t\t: " << y << endl; cout << "----------------------------------------\n"; cout << "\nHasil Dari X + Y adalah\t: " << x + y << endl; cout << "Hasil Dari X - Y adalah\t: " << x - y << endl; cout << "Hasil Dari X / Y adalah\t: " << x / y << endl; cout << "Hasil Dari X * Y adalah\t: " << x * y << endl; cout << "----------------------------------------\n"; cout << "Yoga dwi kurniawan\n"; cout << "yoga2211dwi@gmail.com\n"; return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines