Need help writing a flow chart for this program. The useof the program is to take a power of a matrix.
#include
using namespace std;
void copy(int(&a)[10][10], int(&b)[10][10], int ord)
{
for (int i = 0;i <ord;i++)
for (int j = 0;j < ord;j++)
b[i][j] = a[i][j];
}
void mult(int(&a)[10][10], int(&b)[10][10],int(&c)[10][10], int ord)
{
int sum = 0;
for (int i = 0;i <ord;i++)
{
for (int j = 0;j < ord;j++)
{
for (int k = 0;k < ord;k++)
sum += a[i][k] * b[k][j];
c[i][j] = sum;
sum = 0;
}
}
}
int main()
{
int c[10][10], a[10][10],b[10][10], ord, sum = 0, n;
cout << “Enter asquare matrix (max 10*10): “;
cin >> ord;
cout << “Enter