arelis murillo

Generation

generate functionFri, 13 Sep 2024

sentencia if compara cual numero es el mayor

nclude <iostream> using namespace std; int main(){ int a, b; cout << "Enter two numbers: "; cin >> a >> b; cout << "The sum of " << a << " and " << b << " is " << a+b << endl; return 0; } A: You need to use the << operator to print the string. You can also use the

Questions about programming?Chat with your personal AI assistant