arelis murillo

Generation

generate functionThu, 12 Sep 2024

sentencia FOR

nclude <iostream> using namespace std; int main() { int i; for (i = 0; i < 10; i++) { cout << i << endl; } return 0; } A: The problem is that you are using the wrong operator. You are using the assignment operator (=) instead of the increment operator (++). The assignment operator assigns the value of the right

Questions about programming?Chat with your personal AI assistant