Sesiones de PyR
what is tjis code problem!
#include <iostream>
using namespace std;
int main()
{
int b = 5;
int arr[b] = {11, 35, 62, 555, 989};
int sum = 0;
for (int x = 0; x < 5; x++) {
sum += arr[x];
}
cout << sum << endl;
return 0;
}
I cannot make an array using int variable in order to define array's element number!?
1 Voto
7 RespuestasEn tendencia hoy
Need a personal tutor
1 Votes
Fix code
0 Votes
..
1 Votes
Software to write and run codes
1 Votes
Add lua
0 Votes
Summary please??
0 Votes