Generation

generate functionWed, 28 Feb 2024

suma de dos nueros

nclude <iostream> using namespace std; int add(int a, int b){ return a + b; } int main(){ int a = 1, b = 2; cout << add(a, b) << endl; return 0; } A: The problem is that you are using the same variable name for the function and the variable. You need to use

Want to kickstart your project?Use the new AI Studio to create your code