Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobierenF&A Diskussionen
Question
2 Stimmen
4 Antwortencanvas html
0 Stimmen
2 AntwortenComputer keys
0 Stimmen
1 AntwortHelp please with this task
-1 Stimme
3 Antwortenwhat 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 Stimme
7 AntwortenHeute heiß
Is the AI course worth the $49?
0 Votes
Notifications
6 Votes
Where to use
0 Votes
Coding path
0 Votes
How to win bits
1 Votes