Discussioni Q&A
forEach Question...
0 Voti
1 RispostaSorting in C
0 Voti
1 RispostaThrow Course
0 Voti
1 Rispostawhat 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 Voto
7 Rispostefind the largest element
-1 Voto
3 RisposteWrite a program that uses a dynamic array that contains 5 items of double values. The size of the array is entered when the program is run. Aldo the 5 values must be entered. These tasks are done in the main ( ) function. Then write a function to display the 5 values. The function must have a pointer variable as a parameter. The function is called from the main ( ).
0 Voti
2 RisposteI need help
0 Voti
3 RisposteHow to use random in C#?
-1 Voto
2 RisposteHelp please with this task
-1 Voto
3 RisposteNested list in python
0 Voti
2 RisposteHelp me fix this code
1 Voto
1 RispostaI can not figure this out. Write a program using an array to prompt for 10 grades and add them all up and divide by 10 to find the average. If a user inputs a negative number, add up all the numbers that are not negative and divide it by the amount of numbers that are not negative. Using two functions other than main.
1 Voto
4 RispostePopolare oggi
Pointers cpp
2 Votes
Is pro worth the money ?
1 Votes
Drawing images in java
2 Votes
Coding for Cybersecurity
0 Votes