Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcjęDyskusje Q&A
Contact problem!
12 głosów
11 odpowiedziOops, Problem!
3 głosów
8 odpowiedziProblem!
1 Głos
1 OdpowiedźAddEventListener Problem!
0 głosów
3 odpowiedziSpam problem!
2 głosów
1 OdpowiedźStrange input problem!
0 głosów
5 odpowiedzigoto statement problem!
2 głosów
4 odpowiedziI have a problem!
5 głosów
17 odpowiedziList.append (x) problem!
0 głosów
5 odpowiedziphp connection problem!
0 głosów
2 odpowiedziCode Coach PROBLEM!
0 głosów
1 OdpowiedźFinding a problem!
2 głosów
1 OdpowiedźMy first coding problem!
0 głosów
6 odpowiedziNeed help with this problem!
0 głosów
4 odpowiedziI have a problem!
0 głosów
1 OdpowiedźI have a runtime problem!
0 głosów
2 odpowiedziwhat 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 Głos
7 odpowiedziPopularne dzisiaj
Solution
0 Votes
Calculator
0 Votes
How to make animation
0 Votes
Sololearn logo
0 Votes
C? C++? C#? Horses for courses?
0 Votes