ok, so i got this note from class i dont understand shit please helps me out
// arrays example
#include <iostream.h>
int billy [] = {16, 2, 77, 40, 12071};
int n, result=0;
int main ()
{
for ( n=0 ; n<5 ; n++ ) //this part i dont get
{
result += billy[n];
}
cout << result;
return 0;
}
Last edited on