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.
Diff: main.cpp
- Revision:
- 26:b936177af0ea
- Parent:
- 25:7dad1f41744f
--- a/main.cpp Sat Apr 11 05:02:32 2020 +0000
+++ b/main.cpp Sun Apr 12 04:32:19 2020 +0000
@@ -7,7 +7,7 @@
int main(){
char n;
com1.printf("Digite un numero entre 0-9: ");
- scanf(" %c",&n);
+ com1.scanf(" %c",&n);
switch(n){
case 48:printf("Es el numero 0");
break;