commit 9b5ac152bb0509c14d14f15c387edfeef3ba232b parent b90bd02a825b492d9d10203a92cf98d6365a12f7 Author: mjkloeckner <martinjkloeckner@gmail.com> Date: Thu, 14 Mar 2024 17:44:10 -0300 Added ej01 solution with bonus Diffstat:
| A | solutions/ej01.cpp | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-) diff --git a/solutions/ej01.cpp b/solutions/ej01.cpp @@ -0,0 +1,13 @@ +#include <iostream> + +int main(void) { + int input; + + std::cin >> input; + + // https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797 + std::cout << "\033[1A"; + std::cout << "Usted ingresó: " << input << std::endl; + + return 0; +}
