Ejercicio C++

#include <iostream>
using namespace std;

int m1[3][3];
int f=0,c=0;

int main()
{
for (f=0;f<=2;f++)
{
for (c=0;c<=2;c++)
{
cout<<"\nIngrese el elemento ";
cin>>m1[f][c]
}
}
    for(f=0;f<=2;f++)
    {
   for (c=0;c<=2;c++)
{
cout<<m1[f][c]<<"\t"
}
cout<<"\n";
}
}

Share this

Related Posts

Previous
Next Post »