From bc0f0eb7b330fa51fbc66c2d305c0990a86c7dc4 Mon Sep 17 00:00:00 2001 From: Elizabeth Ramirez Date: Mon, 23 Oct 2017 11:17:13 -0500 Subject: [PATCH] c++,loop --- langs/C++/for-loop | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 langs/C++/for-loop diff --git a/langs/C++/for-loop b/langs/C++/for-loop new file mode 100644 index 0000000..2a29080 --- /dev/null +++ b/langs/C++/for-loop @@ -0,0 +1,3 @@ +for (int i = 0; i < 10; i++){ //ejecuta un ciclo 10 veces +cout << "El valor de i es " << i << endl; //ejecuta esta sentencia 10 veces +}