#include <iostream>

// Function definition with two parameters: a and b
void print_sum(int a, int b) {
    int sum = a + b;
    std::cout << "The sum of " << a << " and " << b << " is: " << sum << std::endl;
}

int main() {
    // Calling the function with actual values
    print_sum(5, 10);
    print_sum(20, 3);6.

    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: