You are on page 1of 1

#include <iostream>

#include <cstdlib>
using namespace std;
void print(int);
void combine(int, int);
int main()
{
int a = 5;
int b = 6;
cout << "hello, world!" << endl;
print(a);
combine(a,b);
system("pause");
return 0;
}
void print(int a)
{
cout << a << endl;
}
void combine(int a, int b)
{
cout << a << ", " << b << endl;
}

You might also like