saban123

program menghitung waktu isi kolam

Dec 17th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. #include <iostream>
  2. #include <stdlib>
  3. void main()
  4. {
  5. int v = 10*100*2 , debit = 10*10,  waktu;
  6. v = v*1000;
  7. waktu = v/debit/3600;
  8. cout<<waktu<<endl;
  9. system("pause");
  10. }
Advertisement
Add Comment
Please, Sign In to add comment