Write a program that will use partially filled parallel arrays to store the periodic table information.
Attachment 1
Attachment 2
#include <iostream>#include<fstream>#include<cstdlib>using namespace std;struct element{int atomic_number;string abbreviation;string name;double weight;};int…