Logo

Programming-Idioms

History of Idiom 54 > diff from v51 to v52

Edit summary for version 52 by User:
read array elements

Version 51

2021-06-06, 20:15:23

Version 52

2021-06-07, 05:08:36

Idiom #54 Compute sum of integers

Calculate the sum s of integer list x.

Idiom #54 Compute sum of integers

for( i=0;i<=30;i++)
{
printf("Day %d",i+1)
scanf("%d",&a[i]);
}

Variables
s,x
Variables
s,x