You are viewing a single comment's thread. Return to all comments →
case2 is having problem with mine.
#include <stdio.h> int main() { int no, sums = 0, c, array[100]; scanf("%d", &no); for (c = 0; c < no; c++) { scanf("%d", &array[c]); sums = sums + array[c]; } printf("%d\n",sums); return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Simple Array Sum
You are viewing a single comment's thread. Return to all comments →
case2 is having problem with mine.