In my previous post I described how to create an array with a custom data type we declared in a…