#include <iostream>
using namespace std;
int main() {
int a, b;
// Penggunaan Notasi Didepan Variabel
puts("Nama \t: Ilham Satria Wijaya ");
puts("Nim \t: 3420230031 ");
a = 10; b = 5;
printf("\nNilai A \t\t= %d", a);
printf("\nNilai ++A \t\t= %d", ++a);
printf("\nNilai B \t\t= %d", b);
printf("\nNilai --B \t\t= %d", --b);
cout << endl << endl;
// Penggunaan Notasi Dibekalang Variabel
a = 10; b = 5;
printf("Nilai A \t\t= %d", a);
printf("\nNilai A++ \t\t= %d", a++);
printf("\nNilai B \t\t= %d", b);
printf("\nNilai B-- \t\t= %d", b--);
cout << endl << endl;
printf("Nilai A sekarang \t= %d\n", a);
printf("Nilai B sekarang \t= %d", b);
return 0;
}