Tugas 3.1

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 "<< endl; 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 << "\nYoga dwi kurniawan\n"; cout << "yoga2211dwi@gmail.com\n"; return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines