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:
- 27:8678c21abbeb
- Parent:
- 26:c1f837b137f8
- Child:
- 28:990ab89d08d2
diff -r c1f837b137f8 -r 8678c21abbeb main.cpp
--- a/main.cpp	Sun Apr 12 02:31:32 2020 +0000
+++ b/main.cpp	Mon Apr 20 08:22:09 2020 +0000
@@ -11,6 +11,7 @@
 {
     int tecla;
     com1.printf("Cuantas veces al dia te lavas las manos? \n\n");
+    com1.scanf("%d",&tecla);
 if ((tecla <= 9)&&(tecla >= 3)){
     com1.printf("Eso es genial. \n");