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