C++
//Contoh 1
#include "iostream"
#include "conio.h"
using namespace std;
void input(int &X,int &Y){
cout<<"A : ";cin>>X;
cout<<"B : ";cin>>Y;
}
void Tambah(int A,int B){
int C;
C=A+B;
cout<<"A+B : "<
void main(){
int A,B;
input(A,B);
Tambah(B,A);
_getch();
}