Q&A Discussões
Cout__x
0 Voto
2 Respostaswhat 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 RespostasPlz answer?
1 Voto
2 RespostasQuente hoje
Activities on sololearn
1 Votes
What is problem in this code
0 Votes
playground input
0 Votes
Html issue
1 Votes
Software developer
0 Votes
How I can use div
0 Votes
TIPS From Veterans
1 Votes
Playground input
0 Votes