#include <iostream>
#include <iomanip> // Untuk format tabel
using namespace std;
// Nama: Muhammad Irfan Zidni
// Nim : 3420230014
int main() {
// Header tabel
cout << "--------------------------------------------------" << endl;
cout << "No A B A*A B*B" << endl;
cout << "--------------------------------------------------" << endl;
// Data
int A[] = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20};
int B[] = {4, 7, 10, 13, 16, 19, 22, 25, 28, 31};
for (int i = 0; i < 10; i++) {
cout << setw(5) << (i + 1)
<< setw(5) << A[i]
<< setw(5) << B[i]
<< setw(7) << A[i] * A[i]
<< setw(7) << B[i] * B[i] << endl;
}
// Footer tabel
cout << "-------------------------------------------"<<endl;
cout << "Nama : Muhammad Irfan Zidni"<<endl;
cout << "Email : muhammadirfanzidni801@gmail.com"<<endl;
return 0;
}