#include <iostream>
using namespace std;
// Nama : Ahmad Fauzan
// Nim : 3420230018
void garis() {
puts("======================================");
}
void judul() {
garis();
cout << "Algoritma 9.1" << endl;
cout << "Pengenalan Variabel Pointer" << endl;
garis();
}
void ttd() {
cout << endl;
garis();
cout << "Nama : Ahmad Fauzan" << endl;
cout << "Email : afauzan0311@gmail.com" << endl;
}
int main() {
judul();
int nilai1, nilai2, *nilai3;
nilai1 = 5;
cout << "Nilai 1 adalah " << nilai1 << endl;
nilai2 = nilai1;
cout << "Nilai 2 adalah " << nilai2 << endl;
nilai3 = &nilai1;
cout << "Nilai 3 adalah " << nilai3;
ttd();
return 0;
}