diff --git a/ARRAY Problems/SumOfArray.cpp b/ARRAY Problems/SumOfArray.cpp new file mode 100644 index 0000000..97fb3e0 --- /dev/null +++ b/ARRAY Problems/SumOfArray.cpp @@ -0,0 +1,10 @@ +#include +using namespace std +int main(){ + int n,sum=0; + cin>>n; + int a[n]; + for(int i=0;i>a[i]; + for(int i=0;i