daily pastebin goal
76%
SHARE
TWEET

Adis Bakery V2

a guest Nov 20th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. title Adis Bakery
  3. :start
  4. cls
  5. echo ========== Adis Bakery ==========
  6. echo Pilih roti kesukaan mu :
  7. echo {1} Roti Tawar
  8. echo {2} Roti Isi
  9. echo {3} Roti Bantal
  10. echo {4} Keluar
  11. echo ================ ================
  12. set/p pr=Apa roti pilihan mu? :
  13.  
  14. if %pr%==1 goto tawar
  15. if %pr%==2 goto isi
  16. if %pr%==3 goto bantal
  17. if %pr%==4 goto exit
  18.  
  19. # ==================== Roti Tawar Adis Bakery ====================
  20.  
  21. :tawar
  22. cls
  23. echo ========== Adis Bakery ==========
  24. echo 1) Roti Tawar Milk Toast
  25. echo == Rp. 20.000
  26. echo 2) Roti Tawar Gandum
  27. echo == Rp. 17.000
  28. echo 3) Roti Tawar Biasa
  29. echo == Rp. 15.000
  30. echo.
  31. echo ================ ===============
  32. set/p pr1=Pilih roti apa? :
  33.  
  34. if %pr1%==1 goto tm
  35. if %pr1%==2 goto tg
  36. if %pr1%==3 goto tb
  37.  
  38. :tm
  39. echo.
  40. echo.
  41. echo ========== Adis Bakery ==========
  42. echo Roti Tawar Milk Toast
  43. echo isi 10
  44. echo Harga          : Rp. 20.000
  45. set/p u=uang            : Rp.
  46. set/a k=u-20000
  47. echo Uang Kembalian : Rp. %k%
  48. echo.
  49. echo ==Terima Kasih Telah Berbelanja==
  50. echo =========== Adis Bakery =========
  51. set/p pr2= Ingin Keluar / Beli Roti lagi? [Y/N] :
  52. if %pr2%==N goto start
  53. if %pr2%==n goto start
  54. if %pr2%==Y goto exit
  55. if %pr2%==y goto exit
  56.  
  57. :tg
  58. echo.
  59. echo.
  60. echo ========== Adis Bakery ==========
  61. echo Roti Tawar Gandum
  62. echo isi 10
  63. echo Harga          : Rp. 17.000
  64. set/p u=uang            : Rp.
  65. set/a k=u-17000
  66. echo Uang Kembalian : Rp. %k%
  67. echo.
  68. echo ==Terima Kasih Telah Berbelanja==
  69. echo =========== Adis Bakery =========
  70. set/p pr3= Ingin Keluar / Beli Roti lagi? [Y/N] :
  71. if %pr3%==N goto start
  72. if %pr3%==n goto start
  73. if %pr3%==Y goto exit
  74. if %pr3%==y goto exit
  75.  
  76. :tb
  77. echo.
  78. echo.
  79. echo ========== Adis Bakery ==========
  80. echo Roti Tawar Biasa
  81. echo isi 10
  82. echo Harga          : Rp. 15.000
  83. set/p u=uang            : Rp.
  84. set/a k=u-15000
  85. echo Uang Kembalian : Rp. %k%
  86. echo.
  87. echo ==Terima Kasih Telah Berbelanja==
  88. echo =========== Adis Bakery =========
  89. set/p pr4= Ingin Keluar / Beli Roti lagi? [Y/N] :
  90. if %pr4%==N goto start
  91. if %pr4%==n goto start
  92. if %pr4%==Y goto exit
  93. if %pr4%==y goto exit
  94.  
  95. # ==================== Roti Isi Adis Bakery ====================
  96.  
  97. :isi
  98. cls
  99. echo ========== Adis Bakery ==========
  100. echo 1) Roti ChoBa
  101. echo == Rp. 13.000
  102. echo 2) Roti CoJu
  103. echo == Rp. 12.000
  104. echo 3) Roti CoCa
  105. echo == Rp. 10.000
  106. echo.
  107. echo ================ ===============
  108. set/p pr5=Pilih roti isi apa? :
  109.  
  110. if %pr5%==1 goto cb
  111. if %pr5%==2 goto cj
  112. if %pr5%==3 goto cc
  113.  
  114. :cb
  115. echo.
  116. echo.
  117. echo ========== Adis Bakery ==========
  118. echo Roti Isi Choco Banana
  119. echo isi 2
  120. echo Harga          : Rp. 13.000
  121. set/p u=uang           : Rp.
  122. set/a k=u-13000
  123. echo Uang Kembalian : Rp. %k%
  124. echo.
  125. echo ==Terima Kasih Telah Berbelanja==
  126. echo =========== Adis Bakery =========
  127. set/p pr6= Ingin Keluar / Beli Roti lagi? [Y/N] :
  128. if %pr6%==N goto start
  129. if %pr6%==n goto start
  130. if %pr6%==Y goto exit
  131. if %pr6%==y goto exit
  132.  
  133. :cj
  134. echo.
  135. echo.
  136. echo ========== Adis Bakery ==========
  137. echo Roti Isi Coklat Keju
  138. echo isi 2
  139. echo Harga          : Rp. 12.000
  140. set/p u=uang            : Rp.
  141. set/a k=u-12000
  142. echo Uang Kembalian : Rp. %k%
  143. echo.
  144. echo ==Terima Kasih Telah Berbelanja==
  145. echo =========== Adis Bakery =========
  146. set/p pr7= Ingin Keluar / Beli Roti lagi? [Y/N] :
  147. if %pr7%==N goto start
  148. if %pr7%==n goto start
  149. if %pr7%==Y goto exit
  150. if %pr7%==y goto exit
  151.  
  152. :cc
  153. echo.
  154. echo.
  155. echo ========== Adis Bakery ==========
  156. echo Roti Isi Coklat Kacang
  157. echo isi 2
  158. echo Harga          : Rp. 10.000
  159. set/p u=uang            : Rp.
  160. set/a k=u-10000
  161. echo Uang Kembalian : Rp. %k%
  162. echo.
  163. echo ==Terima Kasih Telah Berbelanja==
  164. echo =========== Adis Bakery =========
  165. set/p pr8= Ingin Keluar / Beli Roti lagi? [Y/N] :
  166. if %pr8%==N goto start
  167. if %pr8%==n goto start
  168. if %pr8%==Y goto exit
  169. if %pr8%==y goto exit
  170.  
  171. # ==================== Roti Bantal Adis Bakery ====================
  172.  
  173. :bantal
  174. cls
  175. echo ========== Adis Bakery ==========
  176. echo 1) Roti Bantal Srikaya
  177. echo == Rp. 21.000
  178. echo 2) Roti Bantal Coklat
  179. echo == Rp. 23.000
  180. echo 3) Roti Bantal Stawberry
  181. echo == Rp. 22.000
  182. echo.
  183. echo ================ ===============
  184. set/p pr9=Pilih roti apa? :
  185.  
  186. if %pr9%==1 goto bs
  187. if %pr9%==2 goto bc
  188. if %pr9%==3 goto bsw
  189.  
  190. :bs
  191. echo.
  192. echo.
  193. echo ========== Adis Bakery ==========
  194. echo Roti Bantal Srikaya
  195. echo isi 1
  196. echo Harga          : Rp. 21.000
  197. set/p u=uang            : Rp.
  198. set/a k=u-21000
  199. echo Uang Kembalian : Rp. %k%
  200. echo.
  201. echo ==Terima Kasih Telah Berbelanja==
  202. echo =========== Adis Bakery =========
  203. set/p pr10= Ingin Keluar / Beli Roti lagi? [Y/N] :
  204. if %pr10%==N goto start
  205. if %pr10%==n goto start
  206. if %pr10%==Y goto exit
  207. if %pr10%==y goto exit
  208.  
  209. :bc
  210. echo.
  211. echo.
  212. echo ========== Adis Bakery ==========
  213. echo Roti Bantal Coklat
  214. echo isi 2
  215. echo Harga          : Rp. 23.000
  216. set/p u=uang            : Rp.
  217. set/a k=u-23000
  218. echo Uang Kembalian : Rp. %k%
  219. echo.
  220. echo ==Terima Kasih Telah Berbelanja==
  221. echo =========== Adis Bakery =========
  222. set/p pr11= Ingin Keluar / Beli Roti lagi? [Y/N] :
  223. if %pr11%==N goto start
  224. if %pr11%==n goto start
  225. if %pr11%==Y goto exit
  226. if %pr11%==y goto exit
  227.  
  228. :bsw
  229. echo.
  230. echo.
  231. echo ========== Adis Bakery ==========
  232. echo Roti Bantal Stawberry
  233. echo Harga satuan   : Rp. 22.000
  234. set/p j=Jumlah Beli    :
  235. set/a t=j*22000
  236. echo Total Bayar    : Rp. %t%
  237. set/p u=uang            : Rp.
  238. set/a k=u-t
  239. echo Uang Kembalian : Rp. %k%
  240. echo.
  241. echo ==Terima Kasih Telah Berbelanja==
  242. echo =========== Adis Bakery =========
  243. set/p pr12= Ingin Keluar / Beli Roti lagi? [Y/N] :
  244. if %pr12%==N goto start
  245. if %pr12%==n goto start
  246. if %pr12%==Y goto exit
  247. if %pr12%==y goto exit
RAW Paste Data
Top