You are viewing a single comment's thread. Return to all comments →
C:
#include<stdio.h> int main() { int length; scanf("%d",&length); long int num[length],sum = 0; for(int i = 0 ; i< length; i++) { scanf("%ld",&num[i]); sum += num[i]; } printf("%ld",sum); return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
A Very Big Sum
You are viewing a single comment's thread. Return to all comments →
C: