Generation

generate functionTue, 20 Jun 2023

add two numbers and return them

#include <iostream> using namespace std; int add(int a, int b){ return a + b; } int main(){ int x = 1; int y = 2; cout << add(x,y) <<endl; }

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