// Define a function int add(int a, int b) { return a + b; // Adds two integers and returns the result }

void main() { int result = add(3, 4); // Call the function with arguments 3 and 4 print(result); // Output: 7 }