From 1b312835f10fa9b1db190f76b46c99f23fba5ba1 Mon Sep 17 00:00:00 2001 From: Ayush Srivastava Date: Sun, 9 Jun 2019 04:07:43 +0530 Subject: [PATCH 1/3] Set theme jekyll-theme-midnight --- _config.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 _config.yml diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..1885487 --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-midnight \ No newline at end of file From 33b65894de662507941245ee529d0b8aaa56932f Mon Sep 17 00:00:00 2001 From: kunalvishnoi Date: Wed, 12 Jun 2019 17:16:28 +0530 Subject: [PATCH 2/3] cpp solution for day 2 --- Day-2/Cpp/main.cpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Day-2/Cpp/main.cpp diff --git a/Day-2/Cpp/main.cpp b/Day-2/Cpp/main.cpp new file mode 100644 index 0000000..4b6e187 --- /dev/null +++ b/Day-2/Cpp/main.cpp @@ -0,0 +1,27 @@ +#include + +using namespace std; + +// Complete the solve function below. +void solve(double meal_cost, int tip_percent, int tax_percent) { + double result; + result = meal_cost + (tip_percent*meal_cost)/100 + (tax_percent*meal_cost)/100; + cout<> meal_cost; + + int tip_percent; + cin >> tip_percent; + + + int tax_percent; + cin >> tax_percent; + + solve(meal_cost, tip_percent, tax_percent); + + return 0; +} From 6cbfdb7509ad9e7b525444e3657171191514def9 Mon Sep 17 00:00:00 2001 From: kunalvishnoi Date: Thu, 13 Jun 2019 23:07:47 +0530 Subject: [PATCH 3/3] file name changed --- {Day-2 => Day2-Operators}/Cpp/main.cpp | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {Day-2 => Day2-Operators}/Cpp/main.cpp (100%) diff --git a/Day-2/Cpp/main.cpp b/Day2-Operators/Cpp/main.cpp similarity index 100% rename from Day-2/Cpp/main.cpp rename to Day2-Operators/Cpp/main.cpp