by @Cristhian Adrian Suarez Silva Fork
{"functions":[],"name":"PRESTAMO PRESENTACION","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_3d3a61c0_eb27_4f1c_812d_46ea38315e9e"},{"newline":true,"@type":"Output","id":"id_c70b7bc8_098f_42ca_9bc9_4b6d5068d050","value":"\"este programa es un validador de prestamos\""},{"newline":true,"@type":"Output","id":"id_1acd40c5_b68c_4e6b_9576_55e2ea25744a","value":"\"debes cumplir las siguientes requisitos\""},{"newline":true,"@type":"Output","id":"id_8c136317_6e10_47d9_80ac_b6de5ddb7356","value":"\"ser mayor de 18+ y que su sueldo mensual sea 1.200.000$\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"sueldo","lengthValue2":"5","id":"id_c6f7aec6_db75_44be_a353_46c3fcccb183","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"edad","lengthValue2":"5","id":"id_4c6b8bbe_ac9d_45c5_9318_310342a63ddc","initValue":null},{"newline":true,"@type":"Output","id":"id_7fdf48aa_9d56_443b_b756_fea6a63ad71d","value":"\"ingrese su edad\""},{"@type":"Input","name":"edad","id":"id_a170aef1_7fa5_4e7d_9e26_49ba2198a41b","prompt":null},{"newline":true,"@type":"Output","id":"id_f0b8f43a_bd56_4de3_a328_d78ed5d6f8d8","value":"\"ingrese su sueldo mensual\""},{"@type":"Input","name":"sueldo","id":"id_51d650f9_c754_4aee_9da8_1ce190258608","prompt":null},{"condition":"edad","@type":"While","id":"id_b9512476_97cc_4f80_96d2_ed0c5ef6af8b","body":{"statements":[],"id":"id_2b4663ba_57e5_4532_98a7_6da50a9cb9e7"}},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7255ba4e_8207_4f47_ad21_6e915ce61b7c","value":"\"rechazado por la edad y sueldo\""}],"id":"id_45b052ad_0b21_4f98_855c_ec3513c43274"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9adcab6c_e796_4154_878a_b22b4dd23f6e","value":"\"postulaste a un cita para validar su credito\""}],"id":"id_303feb63_ceff_4878_9578_5da7a7de80a1"},"condition":"edad>=18","@type":"If","id":"id_80c63635_9f1f_4d2a_ac6b_620590dc3016"}],"id":"id_2e4a4697_fdbb_468f_8677_c6735343f21a"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0ff36ee0_1a8d_444a_89f7_ffb7b270d488","value":"\"negado por la edad\""}],"id":"id_ee685bd6_a6de_42ea_89df_7c7cdd488380"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_cfc107ff_f405_47fe_9fee_6ea7438ca007","value":"\"aprobado\""}],"id":"id_c49a01d7_e058_43ac_aa28_5ec22ce8ac17"},"condition":"edad>=18","@type":"If","id":"id_16d19fcc_0948_4e5e_ae68_04681fd74082"}],"id":"id_a40b1995_6ea9_40b7_9d51_d069d789d3ff"},"condition":"sueldo>=1200000","@type":"If","id":"id_cf24f544_b7ab_441b_95d4_e4e0f908a45c"},{"@type":"Return","id":"id_162abe80_9079_4572_b233_209bcb1435c7","maybeValue":null}],"parameters":[]},"id":"id_da61141a_1a2f_4a93_a5a3_5cfc7334fc1f","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":764}