SHARE
TWEET

Untitled

sohailoo Jul 24th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. run:
  2. -------------------------------------------------------------
  3. ------Welcome to the Ticket issuing Management System-------
  4. ------------------------------------------------------------
  5.  > Please enter the academic year (ex: 2017-2018): 2018-2019
  6.  
  7.  > How many employees are in year 2018-2019: 200
  8.  
  9. -----------------------------------------------------------
  10. -------         Ticket Issuing Management System     ------
  11. -------                     *MAIN MENU*              ------
  12. -----------------------------------------------------------
  13. | 1: Enter 1 for Issuing a local Ticket                   |
  14. | 2: Enter 2 for Issuing a broad Ticket                   |
  15. | 3: Enter 3 for Removing a Ticket                        |
  16. | 4: Enter 4 for Printing Ticket for an Employee          |
  17. | 5: Enter 5 for Printing the Tickets Details             |
  18. | 0: Enter 0 for Exiting the Program                      |
  19. -----------------------------------------------------------
  20. > Please enter your choice:3
  21.  > ***Cannot remove. There are no tickets currently added in the system.
  22.  
  23.  
  24. -----------------------------------------------------------
  25. -------         Ticket Issuing Management System     ------
  26. -------                     *MAIN MENU*              ------
  27. -----------------------------------------------------------
  28. | 1: Enter 1 for Issuing a local Ticket                   |
  29. | 2: Enter 2 for Issuing a broad Ticket                   |
  30. | 3: Enter 3 for Removing a Ticket                        |
  31. | 4: Enter 4 for Printing Ticket for an Employee          |
  32. | 5: Enter 5 for Printing the Tickets Details             |
  33. | 0: Enter 0 for Exiting the Program                      |
  34. -----------------------------------------------------------
  35. > Please enter your choice:4
  36.  > ***Cannot print details. There are no tickets currently added in the system.
  37.  
  38.  
  39. -----------------------------------------------------------
  40. -------         Ticket Issuing Management System     ------
  41. -------                     *MAIN MENU*              ------
  42. -----------------------------------------------------------
  43. | 1: Enter 1 for Issuing a local Ticket                   |
  44. | 2: Enter 2 for Issuing a broad Ticket                   |
  45. | 3: Enter 3 for Removing a Ticket                        |
  46. | 4: Enter 4 for Printing Ticket for an Employee          |
  47. | 5: Enter 5 for Printing the Tickets Details             |
  48. | 0: Enter 0 for Exiting the Program                      |
  49. -----------------------------------------------------------
  50. > Please enter your choice:5
  51.  > ***Cannot print Tickets Statistics. There are no tickets currently added in the system.
  52.  
  53.  
  54. -----------------------------------------------------------
  55. -------         Ticket Issuing Management System     ------
  56. -------                     *MAIN MENU*              ------
  57. -----------------------------------------------------------
  58. | 1: Enter 1 for Issuing a local Ticket                   |
  59. | 2: Enter 2 for Issuing a broad Ticket                   |
  60. | 3: Enter 3 for Removing a Ticket                        |
  61. | 4: Enter 4 for Printing Ticket for an Employee          |
  62. | 5: Enter 5 for Printing the Tickets Details             |
  63. | 0: Enter 0 for Exiting the Program                      |
  64. -----------------------------------------------------------
  65. > Please enter your choice:1
  66.  > Enter Ticket Number: L11111
  67.  > Enter emlpyee ID: 1111
  68.  > Enter employee name: Sami Alzahrani
  69.  > Enter ticket price:550
  70.  
  71.  > Ticket  L11111 for employee Sami Alzahrani has been issued and added to the system.
  72.  
  73. -----------------------------------------------------------
  74. -------         Ticket Issuing Management System     ------
  75. -------                     *MAIN MENU*              ------
  76. -----------------------------------------------------------
  77. | 1: Enter 1 for Issuing a local Ticket                   |
  78. | 2: Enter 2 for Issuing a broad Ticket                   |
  79. | 3: Enter 3 for Removing a Ticket                        |
  80. | 4: Enter 4 for Printing Ticket for an Employee          |
  81. | 5: Enter 5 for Printing the Tickets Details             |
  82. | 0: Enter 0 for Exiting the Program                      |
  83. -----------------------------------------------------------
  84. > Please enter your choice:5
  85.  
  86.             Ticket Details based on Ticket Type
  87. ===================================================================================
  88.  
  89. Tiket Type  Ticket number        Emp. ID                 Name         Price
  90. --------------------------------------------------------------------------------------
  91. LOCAL       > L11111            1111             Sami Alzahrani     550.00  
  92.                            Total for local tickets: 550.00
  93. --------------------------------------------------------------------------------------
  94. ABROAD          No abroad tickets issued
  95.  
  96. ===================================================================================
  97.  
  98.                               Total Price       : 550.00
  99.  
  100.  
  101. -----------------------------------------------------------
  102. -------         Ticket Issuing Management System     ------
  103. -------                     *MAIN MENU*              ------
  104. -----------------------------------------------------------
  105. | 1: Enter 1 for Issuing a local Ticket                   |
  106. | 2: Enter 2 for Issuing a broad Ticket                   |
  107. | 3: Enter 3 for Removing a Ticket                        |
  108. | 4: Enter 4 for Printing Ticket for an Employee          |
  109. | 5: Enter 5 for Printing the Tickets Details             |
  110. | 0: Enter 0 for Exiting the Program                      |
  111. -----------------------------------------------------------
  112. > Please enter your choice:4
  113.  
  114.  > Enter employee id: 2222
  115.  > ERROR: cannot display ticket details for the employee (#2222)
  116.  >        Ticket for this employee was not found in the system.
  117.  
  118. -----------------------------------------------------------
  119. -------         Ticket Issuing Management System     ------
  120. -------                     *MAIN MENU*              ------
  121. -----------------------------------------------------------
  122. | 1: Enter 1 for Issuing a local Ticket                   |
  123. | 2: Enter 2 for Issuing a broad Ticket                   |
  124. | 3: Enter 3 for Removing a Ticket                        |
  125. | 4: Enter 4 for Printing Ticket for an Employee          |
  126. | 5: Enter 5 for Printing the Tickets Details             |
  127. | 0: Enter 0 for Exiting the Program                      |
  128. -----------------------------------------------------------
  129. > Please enter your choice:4
  130.  
  131.  > Enter employee id: 1111
  132.  
  133.     >>The ticket details is
  134.  
  135.         Ticket No: L11111
  136.         Name: Sami Alzahrani
  137.         Ticket Type: Local
  138.         Price: 550.0
  139.  
  140. -----------------------------------------------------------
  141. -------         Ticket Issuing Management System     ------
  142. -------                     *MAIN MENU*              ------
  143. -----------------------------------------------------------
  144. | 1: Enter 1 for Issuing a local Ticket                   |
  145. | 2: Enter 2 for Issuing a broad Ticket                   |
  146. | 3: Enter 3 for Removing a Ticket                        |
  147. | 4: Enter 4 for Printing Ticket for an Employee          |
  148. | 5: Enter 5 for Printing the Tickets Details             |
  149. | 0: Enter 0 for Exiting the Program                      |
  150. -----------------------------------------------------------
  151. > Please enter your choice:3
  152.  
  153.  > Enter ticket number: L22222
  154.  > ERROR: cannot remove ticek (NO #L22222)
  155.  >        Ticket was not found in the system.
  156.  
  157. -----------------------------------------------------------
  158. -------         Ticket Issuing Management System     ------
  159. -------                     *MAIN MENU*              ------
  160. -----------------------------------------------------------
  161. | 1: Enter 1 for Issuing a local Ticket                   |
  162. | 2: Enter 2 for Issuing a broad Ticket                   |
  163. | 3: Enter 3 for Removing a Ticket                        |
  164. | 4: Enter 4 for Printing Ticket for an Employee          |
  165. | 5: Enter 5 for Printing the Tickets Details             |
  166. | 0: Enter 0 for Exiting the Program                      |
  167. -----------------------------------------------------------
  168. > Please enter your choice:3
  169.  
  170.  > Enter ticket number: L11111
  171.  > The tickst record has been deleted successfully.
  172.  
  173.  
  174. -----------------------------------------------------------
  175. -------         Ticket Issuing Management System     ------
  176. -------                     *MAIN MENU*              ------
  177. -----------------------------------------------------------
  178. | 1: Enter 1 for Issuing a local Ticket                   |
  179. | 2: Enter 2 for Issuing a broad Ticket                   |
  180. | 3: Enter 3 for Removing a Ticket                        |
  181. | 4: Enter 4 for Printing Ticket for an Employee          |
  182. | 5: Enter 5 for Printing the Tickets Details             |
  183. | 0: Enter 0 for Exiting the Program                      |
  184. -----------------------------------------------------------
  185. > Please enter your choice:5
  186.  > ***Cannot print Tickets Statistics. There are no tickets currently added in the system.
  187.  
  188.  
  189. -----------------------------------------------------------
  190. -------         Ticket Issuing Management System     ------
  191. -------                     *MAIN MENU*              ------
  192. -----------------------------------------------------------
  193. | 1: Enter 1 for Issuing a local Ticket                   |
  194. | 2: Enter 2 for Issuing a broad Ticket                   |
  195. | 3: Enter 3 for Removing a Ticket                        |
  196. | 4: Enter 4 for Printing Ticket for an Employee          |
  197. | 5: Enter 5 for Printing the Tickets Details             |
  198. | 0: Enter 0 for Exiting the Program                      |
  199. -----------------------------------------------------------
  200. > Please enter your choice:2
  201.  > Enter Ticket Number: A11111
  202.  > Enter emlpyee ID: 2222
  203.  > Enter employee name: Omer Alamoudi
  204.  > Enter ticket price:1560
  205.  
  206.  > Ticket  A11111 for employee Omer Alamoudi has been issued and added to the system.
  207.  
  208. -----------------------------------------------------------
  209. -------         Ticket Issuing Management System     ------
  210. -------                     *MAIN MENU*              ------
  211. -----------------------------------------------------------
  212. | 1: Enter 1 for Issuing a local Ticket                   |
  213. | 2: Enter 2 for Issuing a broad Ticket                   |
  214. | 3: Enter 3 for Removing a Ticket                        |
  215. | 4: Enter 4 for Printing Ticket for an Employee          |
  216. | 5: Enter 5 for Printing the Tickets Details             |
  217. | 0: Enter 0 for Exiting the Program                      |
  218. -----------------------------------------------------------
  219. > Please enter your choice:5
  220.  
  221.             Ticket Details based on Ticket Type
  222. ===================================================================================
  223.  
  224. Tiket Type  Ticket number        Emp. ID                 Name         Price
  225. --------------------------------------------------------------------------------------
  226. LOCAL           No local tickets issued
  227. --------------------------------------------------------------------------------------
  228. ABROAD      > A11111            2222              Omer Alamoudi     1560.00  
  229.                            Total for abroad tickets: 1560.00
  230.  
  231. ===================================================================================
  232.  
  233.                               Total Price       : 1560.00
  234.  
  235.  
  236. -----------------------------------------------------------
  237. -------         Ticket Issuing Management System     ------
  238. -------                     *MAIN MENU*              ------
  239. -----------------------------------------------------------
  240. | 1: Enter 1 for Issuing a local Ticket                   |
  241. | 2: Enter 2 for Issuing a broad Ticket                   |
  242. | 3: Enter 3 for Removing a Ticket                        |
  243. | 4: Enter 4 for Printing Ticket for an Employee          |
  244. | 5: Enter 5 for Printing the Tickets Details             |
  245. | 0: Enter 0 for Exiting the Program                      |
  246. -----------------------------------------------------------
  247. > Please enter your choice:1
  248.  > Enter Ticket Number: L22222
  249.  > Enter emlpyee ID: 33333
  250.  > Enter employee name: Turki Alsoulami
  251.  > Enter ticket price:610
  252.  
  253.  > Ticket  L22222 for employee Turki Alsoulami has been issued and added to the system.
  254.  
  255. -----------------------------------------------------------
  256. -------         Ticket Issuing Management System     ------
  257. -------                     *MAIN MENU*              ------
  258. -----------------------------------------------------------
  259. | 1: Enter 1 for Issuing a local Ticket                   |
  260. | 2: Enter 2 for Issuing a broad Ticket                   |
  261. | 3: Enter 3 for Removing a Ticket                        |
  262. | 4: Enter 4 for Printing Ticket for an Employee          |
  263. | 5: Enter 5 for Printing the Tickets Details             |
  264. | 0: Enter 0 for Exiting the Program                      |
  265. -----------------------------------------------------------
  266. > Please enter your choice:5
  267.  
  268.             Ticket Details based on Ticket Type
  269. ===================================================================================
  270.  
  271. Tiket Type  Ticket number        Emp. ID                 Name         Price
  272. --------------------------------------------------------------------------------------
  273. LOCAL       > L22222            33333           Turki Alsoulami     610.00  
  274.                            Total for local tickets: 610.00
  275. --------------------------------------------------------------------------------------
  276. ABROAD      > A11111            2222              Omer Alamoudi     1560.00  
  277.                            Total for abroad tickets: 1560.00
  278.  
  279. ===================================================================================
  280.  
  281.                               Total Price       : 2170.00
  282.  
  283.  
  284. -----------------------------------------------------------
  285. -------         Ticket Issuing Management System     ------
  286. -------                     *MAIN MENU*              ------
  287. -----------------------------------------------------------
  288. | 1: Enter 1 for Issuing a local Ticket                   |
  289. | 2: Enter 2 for Issuing a broad Ticket                   |
  290. | 3: Enter 3 for Removing a Ticket                        |
  291. | 4: Enter 4 for Printing Ticket for an Employee          |
  292. | 5: Enter 5 for Printing the Tickets Details             |
  293. | 0: Enter 0 for Exiting the Program                      |
  294. -----------------------------------------------------------
  295. > Please enter your choice:1
  296.  > Enter Ticket Number: L44444
  297.  > Enter emlpyee ID: 12345
  298.  > Enter employee name: Mohammed Omer
  299.  > Enter ticket price:720
  300.  
  301.  > Ticket  L44444 for employee Mohammed Omer has been issued and added to the system.
  302.  
  303. -----------------------------------------------------------
  304. -------         Ticket Issuing Management System     ------
  305. -------                     *MAIN MENU*              ------
  306. -----------------------------------------------------------
  307. | 1: Enter 1 for Issuing a local Ticket                   |
  308. | 2: Enter 2 for Issuing a broad Ticket                   |
  309. | 3: Enter 3 for Removing a Ticket                        |
  310. | 4: Enter 4 for Printing Ticket for an Employee          |
  311. | 5: Enter 5 for Printing the Tickets Details             |
  312. | 0: Enter 0 for Exiting the Program                      |
  313. -----------------------------------------------------------
  314. > Please enter your choice:5
  315.  
  316.             Ticket Details based on Ticket Type
  317. ===================================================================================
  318.  
  319. Tiket Type  Ticket number        Emp. ID                 Name         Price
  320. --------------------------------------------------------------------------------------
  321. LOCAL       > L22222            33333           Turki Alsoulami     610.00  
  322.         > L44444            12345             Mohammed Omer     720.00  
  323.                            Total for local tickets: 1330.00
  324. --------------------------------------------------------------------------------------
  325. ABROAD      > A11111            2222              Omer Alamoudi     1560.00  
  326.                            Total for abroad tickets: 1560.00
  327.  
  328. ===================================================================================
  329.  
  330.                               Total Price       : 2890.00
  331.  
  332.  
  333. -----------------------------------------------------------
  334. -------         Ticket Issuing Management System     ------
  335. -------                     *MAIN MENU*              ------
  336. -----------------------------------------------------------
  337. | 1: Enter 1 for Issuing a local Ticket                   |
  338. | 2: Enter 2 for Issuing a broad Ticket                   |
  339. | 3: Enter 3 for Removing a Ticket                        |
  340. | 4: Enter 4 for Printing Ticket for an Employee          |
  341. | 5: Enter 5 for Printing the Tickets Details             |
  342. | 0: Enter 0 for Exiting the Program                      |
  343. -----------------------------------------------------------
  344. > Please enter your choice:1
  345.  > Enter Ticket Number: L66666
  346.  > Enter emlpyee ID: 54231
  347.  > Enter employee name: Ahmed Algarni
  348.  > Enter ticket price:320
  349.  
  350.  > Ticket  L66666 for employee Ahmed Algarni has been issued and added to the system.
  351.  
  352. -----------------------------------------------------------
  353. -------         Ticket Issuing Management System     ------
  354. -------                     *MAIN MENU*              ------
  355. -----------------------------------------------------------
  356. | 1: Enter 1 for Issuing a local Ticket                   |
  357. | 2: Enter 2 for Issuing a broad Ticket                   |
  358. | 3: Enter 3 for Removing a Ticket                        |
  359. | 4: Enter 4 for Printing Ticket for an Employee          |
  360. | 5: Enter 5 for Printing the Tickets Details             |
  361. | 0: Enter 0 for Exiting the Program                      |
  362. -----------------------------------------------------------
  363. > Please enter your choice:5
  364.  
  365.             Ticket Details based on Ticket Type
  366. ===================================================================================
  367.  
  368. Tiket Type  Ticket number        Emp. ID                 Name         Price
  369. --------------------------------------------------------------------------------------
  370. LOCAL       > L22222            33333           Turki Alsoulami     610.00  
  371.         > L44444            12345             Mohammed Omer     720.00  
  372.         > L66666            54231             Ahmed Algarni     320.00  
  373.                            Total for local tickets: 1650.00
  374. --------------------------------------------------------------------------------------
  375. ABROAD      > A11111            2222              Omer Alamoudi     1560.00  
  376.                            Total for abroad tickets: 1560.00
  377.  
  378. ===================================================================================
  379.  
  380.                               Total Price       : 3210.00
  381.  
  382.  
  383. -----------------------------------------------------------
  384. -------         Ticket Issuing Management System     ------
  385. -------                     *MAIN MENU*              ------
  386. -----------------------------------------------------------
  387. | 1: Enter 1 for Issuing a local Ticket                   |
  388. | 2: Enter 2 for Issuing a broad Ticket                   |
  389. | 3: Enter 3 for Removing a Ticket                        |
  390. | 4: Enter 4 for Printing Ticket for an Employee          |
  391. | 5: Enter 5 for Printing the Tickets Details             |
  392. | 0: Enter 0 for Exiting the Program                      |
  393. -----------------------------------------------------------
  394. > Please enter your choice:2
  395.  > Enter Ticket Number: A33333
  396.  > Enter emlpyee ID: 6523
  397.  > Enter employee name: Asim Mohammed
  398.  > Enter ticket price:2130
  399.  
  400.  > Ticket  A33333 for employee Asim Mohammed has been issued and added to the system.
  401.  
  402. -----------------------------------------------------------
  403. -------         Ticket Issuing Management System     ------
  404. -------                     *MAIN MENU*              ------
  405. -----------------------------------------------------------
  406. | 1: Enter 1 for Issuing a local Ticket                   |
  407. | 2: Enter 2 for Issuing a broad Ticket                   |
  408. | 3: Enter 3 for Removing a Ticket                        |
  409. | 4: Enter 4 for Printing Ticket for an Employee          |
  410. | 5: Enter 5 for Printing the Tickets Details             |
  411. | 0: Enter 0 for Exiting the Program                      |
  412. -----------------------------------------------------------
  413. > Please enter your choice:5
  414.  
  415.             Ticket Details based on Ticket Type
  416. ===================================================================================
  417.  
  418. Tiket Type  Ticket number        Emp. ID                 Name         Price
  419. --------------------------------------------------------------------------------------
  420. LOCAL       > L22222            33333           Turki Alsoulami     610.00  
  421.         > L44444            12345             Mohammed Omer     720.00  
  422.         > L66666            54231             Ahmed Algarni     320.00  
  423.                            Total for local tickets: 1650.00
  424. --------------------------------------------------------------------------------------
  425. ABROAD      > A11111            2222              Omer Alamoudi     1560.00  
  426.         > A33333            6523              Asim Mohammed     2130.00  
  427.                            Total for abroad tickets: 3690.00
  428.  
  429. ===================================================================================
  430.  
  431.                               Total Price       : 5340.00
  432.  
  433.  
  434. -----------------------------------------------------------
  435. -------         Ticket Issuing Management System     ------
  436. -------                     *MAIN MENU*              ------
  437. -----------------------------------------------------------
  438. | 1: Enter 1 for Issuing a local Ticket                   |
  439. | 2: Enter 2 for Issuing a broad Ticket                   |
  440. | 3: Enter 3 for Removing a Ticket                        |
  441. | 4: Enter 4 for Printing Ticket for an Employee          |
  442. | 5: Enter 5 for Printing the Tickets Details             |
  443. | 0: Enter 0 for Exiting the Program                      |
  444. -----------------------------------------------------------
  445. > Please enter your choice:0
  446.  
  447.  > Thank you for using the Ticket Issuing Management System!
  448.  
  449.  > Goodbye.
  450. BUILD SUCCESSFUL (total time: 17 minutes 41 seconds)
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