Quick actions

cmd+k|ctrl+k

Navigation

Languages

Prosedur

Snippet info

Language

Cpp

Visibility

public

Author

mahditia

Created

2022-10-20T06:12:22.952331Z

Updated

2022-10-20T06:21:22.339404Z

#include <iostream>
using namespace std;

int x,y;
void tambah(int a, int b){
int p;
p = a + b;
    cout <<"X + Y = " << p;
}

int main(){
    cout << "X = 23";
    cin >> x;
    cout <<" Y = -34 ";
    cin >> y;
    tambah(23,-34);
}
INFO