Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урокОбсуждения
forEach Question...
0 голосов
1 ответfile handling with structures
1 голос
1 ответwhat 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 голос
7 ответовSorting in C
0 голосов
1 ответThrow Course
0 голосов
1 ответfind the largest element
-1 голос
3 ответовPLEASE SOLVED MY PROBLEM!! (SOLVED)
0 голосов
2 ответовWrite 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 голосов
2 ответовI need help
0 голосов
3 ответовHow to use random in C#?
-1 голос
2 ответовHelp please with this task
-1 голос
3 ответовfind the misstake plz......
0 голосов
1 ответNested list in python
0 голосов
2 ответовWhy isn't it working properly????
0 голосов
2 ответовWhat is the problem with this code?
0 голосов
1 ответHelp me fix this code
1 голос
1 ответI need help fixmy linked list
0 голосов
1 ответI 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 голос
4 ответовI need to design a recursive function called replicate recur which will receive two arguments: times which is the number of times to repeat and data which is the number or string to be repeated.
The function should return an array containing repetitions of the data argument.
For instance, replicate_recur (3, 5) should return [5,5,5].
If the times argument is negative or zero, return an empty array. If the argument is invalid, raise ValueError.
0 голосов
4 ответовАктуальное сегодня
Is the AI course worth the $49?
1 Votes
Comparing code coach solutions
3 Votes
General python
0 Votes
Where to use
0 Votes
Coding path
0 Votes
How to win bits
1 Votes
Road Runner!!! ✌🏻🙌🏻
1 Votes