From 795d25b242c933d4011d8e8a903a1226c488d489 Mon Sep 17 00:00:00 2001 From: maulikaluthra <56387512+maulikaluthra@users.noreply.github.com> Date: Tue, 20 Oct 2020 18:24:34 +0530 Subject: [PATCH] Update ex1_10.cpp using namespace std --- ch01/ex1_10.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ch01/ex1_10.cpp b/ch01/ex1_10.cpp index 28e0f9c7..7f1bca79 100644 --- a/ch01/ex1_10.cpp +++ b/ch01/ex1_10.cpp @@ -2,12 +2,14 @@ #include +using namespace std; + int main() { int val = 10; while (val >= 0) { - std::cout << val << std::endl; - --val; + cout << val << endl; + --val; } return 0;