From d690f2df1832077aec9ed92b112b7d79f63a1a8e Mon Sep 17 00:00:00 2001 From: Sumindar <32561380+Sumindar@users.noreply.github.com> Date: Wed, 7 Mar 2018 21:07:47 +0530 Subject: [PATCH 1/6] Update 03_cppBeginners.cpp --- C++/03_cppBeginners.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/C++/03_cppBeginners.cpp b/C++/03_cppBeginners.cpp index 97baaa6..16db82c 100644 --- a/C++/03_cppBeginners.cpp +++ b/C++/03_cppBeginners.cpp @@ -6,6 +6,7 @@ using namespace std; int main() { - cout << "text"; + cout << "Text"; + cout<<"\nWrite something which impresses the whole world\n"; return 0; -} \ No newline at end of file +} From 41b61aa67ea040725782385915bd14275cc70e8f Mon Sep 17 00:00:00 2001 From: Sumindar <32561380+Sumindar@users.noreply.github.com> Date: Tue, 24 Apr 2018 22:30:34 +0530 Subject: [PATCH 2/6] Update 02_cppBeginners.cpp --- C++/02_cppBeginners.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/C++/02_cppBeginners.cpp b/C++/02_cppBeginners.cpp index 9e733bd..60dbc95 100644 --- a/C++/02_cppBeginners.cpp +++ b/C++/02_cppBeginners.cpp @@ -7,5 +7,9 @@ int main() { cout << "hello world"; + cout<<"how are you?"; + int a,b; + cin>>a>>b; + cout< Date: Tue, 2 Oct 2018 22:34:20 +0530 Subject: [PATCH 3/6] Update 02_python.py --- Python/02_python.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Python/02_python.py b/Python/02_python.py index 7dd79c1..f45ff70 100644 --- a/Python/02_python.py +++ b/Python/02_python.py @@ -23,4 +23,10 @@ 25 >>> bacon = 18 >>> bacon / tuna -3.6 \ No newline at end of file +3.6 +>>> 4 * 20 +80 +>>> 5 + 7 +12 +>>> 6 * 2 +12 From 15d6a91e597387a2fd5a1a57b32c3beb3f580793 Mon Sep 17 00:00:00 2001 From: Sumindar <32561380+Sumindar@users.noreply.github.com> Date: Sat, 6 Oct 2018 07:31:03 +0530 Subject: [PATCH 4/6] Update 07_cppBeginners.cpp --- C++/07_cppBeginners.cpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/C++/07_cppBeginners.cpp b/C++/07_cppBeginners.cpp index 2b3c677..74d11b9 100644 --- a/C++/07_cppBeginners.cpp +++ b/C++/07_cppBeginners.cpp @@ -22,11 +22,19 @@ int main() int calculation3 = (4 + 3) * 7; // calculation2 = 49 - + + + int calculation4 = 2 + 6 * 3; // It gives us 2 + ( 6 * 3)= 20 + + + int calculation5 = (2 + 6) * 3;// calculaton5 = 24 + + cout << "calculation1: " << calculation1 << endl; cout << "calculation2: " << calculation2 << endl; cout << "calculation3: " << calculation3 << endl; - - + cout << "calculation4: " << calculation4 << endl; + cout << "calculation5: " << calculation5 << endl; + return 0; } From 390125ebd7a3a51d997fe3140d1fc0552ad15d4c Mon Sep 17 00:00:00 2001 From: Sumindar <32561380+Sumindar@users.noreply.github.com> Date: Sat, 6 Oct 2018 07:32:44 +0530 Subject: [PATCH 5/6] Update 02_cppBeginners.cpp --- C++/02_cppBeginners.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C++/02_cppBeginners.cpp b/C++/02_cppBeginners.cpp index 60dbc95..c85005f 100644 --- a/C++/02_cppBeginners.cpp +++ b/C++/02_cppBeginners.cpp @@ -10,6 +10,6 @@ int main() cout<<"how are you?"; int a,b; cin>>a>>b; - cout< Date: Sat, 6 Oct 2018 07:34:06 +0530 Subject: [PATCH 6/6] Update 03_cppBeginners.cpp --- C++/03_cppBeginners.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/C++/03_cppBeginners.cpp b/C++/03_cppBeginners.cpp index 16db82c..e566ce2 100644 --- a/C++/03_cppBeginners.cpp +++ b/C++/03_cppBeginners.cpp @@ -8,5 +8,6 @@ int main() cout << "Text"; cout<<"\nWrite something which impresses the whole world\n"; + cout<<"The world needs awesome writers and their super awesome writings."<