{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c6fa8887_e828_4713_adf8_6b2a743a2fb7"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Presupuesto","lengthValue2":"5","id":"id_a0bc50eb_04de_406f_aa24_211adde9358f","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Precio","lengthValue2":"5","id":"id_8f2be956_5f15_45d8_bf12_2c145af9edaa","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Opcion","lengthValue2":"5","id":"id_4901da17_5d22_43ad_856a_48bab5813b42","initValue":null},{"@type":"Input","name":"Presupuesto","id":"id_eed1e2ca_97b7_4efb_a56e_5ac61a9cdc99","prompt":null},{"condition":"Presupuesto > 0","@type":"While","id":"id_5190650e_1ec0_4610_a71c_cd8507863aeb","body":{"statements":[{"@type":"Input","name":"Precio","id":"id_75b39773_49bc_4c4f_8c27_4b152ee496e9","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c2ed6ce5_9f33_4f89_b7d0_1e867181cbd6","value":"No tienes suficiente dinero"}],"id":"id_800e59fc_e878_43ee_b1f0_1c281a9f3093"},"trueBlock":{"statements":[{"@type":"Assign","name":"Presupuesto","id":"id_781641bc_1f61_43a6_be61_e7e5f5ef5542","value":"Presupuesto - Precio"},{"newline":false,"@type":"Output","id":"id_026ff825_1e5c_4eb9_a09d_d98e4aa6c52c","value":"Compra realizada"}],"id":"id_a9c7970c_af95_419a_b8be_aeb445c74428"},"condition":"Precio <= Presupuesto","@type":"If","id":"id_26204035_2e6e_4126_9edf_5aa663c75fde"},{"@type":"Input","name":"Opción","id":"id_1b504b12_dbe6_4b5f_8c30_d7c8d43f2419","prompt":null},{"falseBlock":{"statements":[],"id":"id_627d0150_f51c_4f57_a1ca_a0060eac0427"},"trueBlock":{"statements":[],"id":"id_dc70cc00_54f6_4664_b3c9_df5a9ae3e273"},"condition":"Opcion ==0","@type":"If","id":"id_4a35171d_ce61_469b_8190_9034b0e1b278"}],"id":"id_3d02d83a_2cae_4747_b358_36726f31b539"}},{"newline":true,"@type":"Output","id":"id_f2f35a27_30bf_4bd6_baaa_b22e7d91e5f0","value":"Presupuesto"},{"@type":"Return","id":"id_a5063dcf_38b5_4c52_b136_d9ee17faef41","maybeValue":null}],"parameters":[]},"id":"id_b3bb0aed_2f3d_4230_b855_e8b23b35d4a7","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":266}