#include <iostream>
using namespace std;
inline int add (int a, int b)
{return (a+b);}
inline int sub (int m, int n)
{return (m-n);}
int main() {
int x=30,y=20;
cout <<add (x, y)<<endl;
cout << sub (x, y)<<endl;
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: