by @Amolat, John Deniel E. Fork
{"functions":[],"name":"Pag-IBIG Housing Loan","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_aeb8e556_573e_4328_b471_d8359cd5e1c5"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"choice","lengthValue2":"5","id":"id_3cdb78f7_62fb_4ad9_af38_3cbb0afb6d36","initValue":"0"},{"condition":"choice !=5","@type":"While","id":"id_741f2d8a_d058_4ad7_99c6_3da1637e910d","body":{"statements":[{"newline":true,"@type":"Output","id":"id_9be4bdbd_86f6_4eb3_a791_8e5e46e3ed5a","value":"\"PAG-IBIG HOUSING LOAN\""},{"newline":true,"@type":"Output","id":"id_44a49916_672c_4846_ac38_bf5ab49bb39e","value":"\"1. Add Loan Record\""},{"newline":true,"@type":"Output","id":"id_74ce3237_82bd_4661_9b04_b27be47a1b23","value":"\"2. Display Loan Records\""},{"newline":true,"@type":"Output","id":"id_754c9a88_9fd7_45b3_bb65_db03d13acaab","value":"\"3. Search Loan Record\""},{"newline":true,"@type":"Output","id":"id_2d9508dd_71f6_4dce_8fdc_2b84bfb914fb","value":"\"4. Update Loan Balance\""},{"newline":true,"@type":"Output","id":"id_d89b7e43_a33b_4466_b3ec_61cdcbefca25","value":"\"5. Exit\""},{"newline":true,"@type":"Output","id":"id_7ff12d73_1ca9_4c6e_a82b_6a16fbf4a02a","value":"\"Enter choice:\""},{"@type":"Input","name":"choice","id":"id_b4c7c63d_eab7_45fc_bf3e_7fba51ee6343","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_928c42c4_2b48_47dc_a61b_a2ef3f69ac3d","value":"\"Invalid Choice\""}],"id":"id_90879983_244a_4333_abca_3f9d459ae4a8"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8b837d1c_a91e_4b0e_87e7_a4d15c429163","value":"\"Program Terminated\""}],"id":"id_f9833973_63de_41ee_b33d_986495ca8b95"},"condition":"choice ==5","@type":"If","id":"id_dabdc4a4_1f04_4988_a033_eacf1e00c648"}],"id":"id_eeb889bf_670e_4662_85ef_a8ee69d7aeda"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_5e56d8a4_fbdb_4593_9456_0bd954d55e74","value":"\"Update Loan Balance\""}],"id":"id_975cac99_d854_431c_b5f2_60c8de25bd59"},"condition":"choice ==4","@type":"If","id":"id_228df001_90d7_4cb7_b33a_737a005e9773"}],"id":"id_c3a76bd8_378d_456d_9b77_3404c6da07cb"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ca15b0c1_548a_40ab_a94e_1c1d7114c9e3","value":"\"Search Loan Record\""}],"id":"id_fc31fc76_1408_4413_a995_073b84b0b5a8"},"condition":"choice ==3","@type":"If","id":"id_669885af_6e77_4500_8cb8_0f14e9a7e623"}],"id":"id_8f0dda0e_f3aa_42cc_a5f4_67e53a792ec5"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_988179fa_d3e9_4219_bcf9_b639e9302d30","value":"\"Display Loan Records\""}],"id":"id_66c768d6_d7e2_4bbe_96c2_6234beb3ac57"},"condition":"choice==2","@type":"If","id":"id_03b7eee4_0792_4957_9139_5cb797538134"}],"id":"id_059aff5b_bb87_48df_b6e3_81683097e262"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_47455f60_da5d_4436_82e8_e042f9ed9a7f","value":"\"Add Loan Record\""}],"id":"id_722dbd3d_bf4c_46ea_a7dc_b33a87d96506"},"condition":"choice ==1","@type":"If","id":"id_f2935138_bc00_4459_bc5a_3af6500f2b41"}],"id":"id_eab85533_09a8_4587_864a_cbaa1e7f8c30"}},{"@type":"Return","id":"id_a762241b_cb4a_4051_81eb_d89f276dd19d","maybeValue":null}],"parameters":[]},"id":"id_fb49e356_daf9_4ada_9871_6c8aae098a3f","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":616}