Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
- Committer:
- isaacross99
- Date:
- 2019-10-22
- Revision:
- 30:f7518060fc89
- Parent:
- 29:734b61eca6df
- Child:
- 31:5c22609a9fe7
File content as of revision 30:f7518060fc89:
#include "mbed.h"
Serial pc(USBTX,USBRX);
int main(){
const int filas=3;
const int columnas=3;
int matriz [filas][columnas];
int i,j;
int contador=0;
for (i=0;i<filas;i++)
{
for (j=0;j<columnas;j++)
{ contador = contador+1;
matriz [i][j]=contador;
pc.printf("%d\t", matriz[i][j]);
}
pc.printf("\n");
}
}