From edde901e16f93dd39838be09a52803de9471b4e9 Mon Sep 17 00:00:00 2001 From: ARsh-ALgo <72185264+ARsh-ALgo@users.noreply.github.com> Date: Tue, 20 Oct 2020 21:44:33 +0530 Subject: [PATCH] Update PartitionDay20.cpp --- day20/C++/PartitionDay20.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/day20/C++/PartitionDay20.cpp b/day20/C++/PartitionDay20.cpp index 5a47f209..750456b4 100644 --- a/day20/C++/PartitionDay20.cpp +++ b/day20/C++/PartitionDay20.cpp @@ -11,15 +11,17 @@ using namespace std; int main(){ int n; + cout<<"Enter the number of values you want to have."<> n; int a[n]; for(int i = 0; i < n; i++){ + cout<<"Enter the "<> a[i]; } int num; + cin >> num; - int count = 0; vector part; vector > ans;