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 26:b936177af0ea, committed 2020-04-12
- Comitter:
- cielo
- Date:
- Sun Apr 12 04:32:19 2020 +0000
- Parent:
- 25:7dad1f41744f
- Commit message:
- Estructura switch case para imprimir diferentes mensajes
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;