by @María Uribe Fork
{"functions":[],"name":"ejercicio 6","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_6cebea99_51cc_4453_b8cf_dad6eb14f612"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"saldo","lengthValue2":"5","id":"id_21ee1543_aee3_4bdf_8fef_8b37b4a1a47b","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"costo","lengthValue2":"5","id":"id_b0c83a52_bb70_462f_9628_9765e2539a30","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"restante","lengthValue2":"5","id":"id_93e19840_b4d7_4e39_a1da_a068d08ff5bf","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"faltante","lengthValue2":"5","id":"id_1751ba8b_1f49_4bb4_a91a_1a0afb617fd6","initValue":"0"},{"@type":"Input","name":"saldo","id":"id_198de4b8_572e_4145_8003_e7530d2717b3","prompt":null},{"@type":"Input","name":"costo","id":"id_a3d497aa_6f64_487a_8310_4453cef66ae8","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"faltante","id":"id_6daf8ab0_40e4_4bff_ba25_322e872678ef","value":"costo-saldo"}],"id":"id_7ebda992_8a00_4a86_ba76_b79fba6aab19"},"trueBlock":{"statements":[{"@type":"Assign","name":"restante","id":"id_1d1c41fc_2a8f_4140_acd1_fa37e123d858","value":"saldo-costo"}],"id":"id_80f37935_4632_4d9b_95c2_6286b853f0ad"},"condition":"saldo >= costo","@type":"If","id":"id_29feed00_4515_472b_a895_e223e7a59316"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_5e7842d8_4961_48a2_88c9_e30c13a5ae07","value":"\"saldo insuficiente\""},{"newline":true,"@type":"Output","id":"id_d9c25ba2_da95_4621_b557_f51b76287630","value":"faltante"}],"id":"id_2566ff2f_188e_4d59_b04e_5257d2a43e21"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_fa13b464_7a55_40fa_9579_47811c547bf2","value":"\"compra realizada\""},{"newline":true,"@type":"Output","id":"id_ae2babfd_3575_40a3_a8ca_4ac0a487e3e6","value":"restante"}],"id":"id_947361e5_5fcf_4840_91f3_6ce2362ce885"},"condition":"saldo >= costo","@type":"If","id":"id_e6f9f708_835f_499b_8a74_4e026ccd2e85"},{"@type":"Return","id":"id_bd61d54e_beae_4437_98dd_246857b2147e","maybeValue":null}],"parameters":[]},"id":"id_ae00bfc5_a11c_41a9_82c9_d9d30f1f3fe2","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":243}