#include <iostream>
#include <iomanip>
using namespace std;
int main() {
int n = 10; // Jumlah baris
cout << left << setw(5) << "No"
<< setw(5) << "A"
<< setw(5) << "B"
<< setw(8) << "A*A"
<< setw(8) << "B*B" << endl;
cout << "--------------------------------" << endl;
int B = 4; // Nilai awal B adalah 4
for (int i = 1; i <= n; i++) {
int A = i * 2;
cout << left << setw(5) << i
<< setw(5) << A
<< setw(5) << B
<< setw(8) << A * A
<< setw(8) << B * B << endl;
B += 3; // Increment B dengan 3 pada setiap iterasi
}
cout << "--------------------------------" << endl;
cout << "Nama : Ilham Satria Wijaya" << endl;
cout << "Email : Ilhamsatriaa29@gmail.com" << endl;
return 0;
}