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.
Revision 1:b6b079534178, committed 2020-04-15
- Comitter:
- thesad
- Date:
- Wed Apr 15 21:50:40 2020 +0000
- Parent:
- 0:a9edb328dd9c
- Commit message:
- https://os.mbed.com/users/thesad/code/P4_EJ4/; ;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Apr 11 01:43:48 2020 +0000 +++ b/main.cpp Wed Apr 15 21:50:40 2020 +0000 @@ -1,6 +1,5 @@ #include "mbed.h" #include <stdio.h> -#include <iostream> #include <math.h> Serial com1(USBTX, USBRX); @@ -21,7 +20,7 @@ { while(1){ int t, b; - com1.printf( "Escriba un número: " ); scanf( "%i", &t ); + com1.printf( "Escriba un número: " ); com1.scanf( "%i", &t ); b = t*t*t*t*t*t*t*t*t*t; return b; }