Q&A Discussions
What is the "new" for?
2 Votes
1 AnswerMulti dimensonal arrays
1 Vote
3 Answerswhat 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 AnswersWhat are arrays?
1 Vote
3 AnswersJagged array
2 Votes
6 AnswersHot today
Is this realistic enough?
2 Votes
Need friends
0 Votes
Web Development
0 Votes
Cybersecurity techies
3 Votes
Please complete this code.
0 Votes
What's wrong with code?
0 Votes