Month: December 2015
Its means that the value of A[i] must be remained between 0 to 10000000000
#include<stdio.h> int main() { int a[1000],n,i,sum=0; scanf(“%d”,&n); for(i=0;i<n;i++) { scanf(“%d”,&a[i]); sum=sum+a[i]; } printf(“%d”,sum); return 0; }
Recent Comments