Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuiteDiscussions Q&R
Contact problem!
12 Votes
11 RéponsesOops, Problem!
3 Votes
8 RéponsesSpam problem!
2 Votes
1 RéponseStrange input problem!
0 Vote
5 Réponsesgoto statement problem!
2 Votes
4 RéponsesI have a problem!
5 Votes
17 RéponsesCode Coach PROBLEM!
0 Vote
1 RéponseFinding a problem!
2 Votes
1 RéponseI have a problem!
0 Vote
1 Réponsewhat 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éponsesAujourd'hui en vedette
Questions
1 Votes
Why it's giving error
3 Votes
Questions
0 Votes
xampp
0 Votes
Collection
0 Votes
Code Playground
0 Votes
How to solve this
0 Votes