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:
- akumagame
- Date:
- 2020-04-10
- Revision:
- 0:1214493cf1ee
- Child:
- 1:21fa8fcaf4d6
File content as of revision 0:1214493cf1ee:
#include "mbed.h"
#include "math.h"
Serial com1(USBTX, USBRX);
;int exponente()
{
int a;
int b=0;
printf("ingrese numero que desea elevar a la potencia 10 a:");
scanf("%d", &a);
b = pow(a, 10);
return b;
}
int main()
{
printf("ejecutandose Main");
cout<<exponente()<<endl;
}