diff --git a/src/maxsumsubaaray.cpp b/src/maxsumsubaaray.cpp new file mode 100644 index 0000000..aad3dd4 --- /dev/null +++ b/src/maxsumsubaaray.cpp @@ -0,0 +1,27 @@ +#include + +using namespace std; + + +int main(){ + int n; + printf("Enter the array size"); + scanf("%d",&n); + int arr[n]; + for(int i=0;i