Sha256: ba73bde693b94cf5924ab2f9865bdd9da01c26c984ad377eb0d66b8d0f011a45
Contents?: true
Size: 574 Bytes
Versions: 5
Compression:
Stored size: 574 Bytes
Contents
# Bato Programming Language (https://github.com/jjuliano/bato) grupo TimeBomb BILANG = 5 bilang Bomba ang tik mag_print 'tik' wakas ang tok mag_print 'tok' wakas ang sabog mag_print 'kaboom!' wakas wakas wakas pasabog = TimeBomb::Bomba.gumawa numero = 1 habang numero <= TimeBomb::BILANG ganito mag_print "#{numero}" kapag (numero == TimeBomb::BILANG) pasabog.sabog ngunit_kapag_ang (numero % 2) != 0 pasabog.tik ngunit_kapag_ang (numero % 2) == 0 pasabog.tok wakas matulog 1 numero += 1 wakas
Version data entries
5 entries across 5 versions & 1 rubygems