Discussions Q&R
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 Vote
7 RéponsesWhat is my mistake?
0 Vote
1 RéponseMethod in python
0 Vote
2 RéponsesPendulum broken
2 Votes
3 RéponsesAujourd'hui en vedette
Guys help please
1 Votes
Python question
2 Votes
Are websites hackable?
1 Votes
Python
1 Votes
TICTACTOE
0 Votes
Error
0 Votes
C# and sql
1 Votes
What course to take for AI?
0 Votes
What's an unsigned int?
0 Votes