SHARE
TWEET

Tahun Kabisat

gunawantw May 26th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <Constants.au3>
  2.  
  3. $applName = "Menghitung Tahun Kabisat"
  4. $x = InputBox($applName, "Masukan Tahun ",6)
  5.  
  6. $y = Mod(Int($x),4)
  7.  
  8. if ($y=0) Then
  9.     MsgBox($MB_SYSTEMMODAL, $applName, $x & " adalah Tahun Kabisat!")
  10. Else
  11.     MsgBox($MB_SYSTEMMODAL, $applName, $x & " adalah BUKAN Tahun Kabisat!")
  12. EndIf
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top