Advertisement
anggagmlg

Untitled

Mar 19th, 2018
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.51 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void bagi(int x, int y)
  5. {
  6.     cout << x / y <<endl;
  7. }
  8. int main ()
  9. {
  10.     cout << "//////////////////////////////////////////////////////////" << endl;
  11.     cout << "// =================== Kelompok 3 ===================== //" << endl;
  12.     cout << "// ====================  X-RPL 1  ===================== //" << endl;
  13.     cout << "//////////////////////////////////////////////////////////" << endl;
  14.     cout << "Hasilnya adalah = ";
  15.     bagi (50, 5);
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement