by @James Darwin Loayza Zarate Fork
{"functions":[],"name":"Tarifa estacionamiento","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_44c4273e_d6e9_4b97_9ab4_e3e45ac6cd55"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Horas","lengthValue2":"5","id":"id_d0963d57_37af_457f_9071_fbb49532e2e9","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"TotalSinDescuento","lengthValue2":"5","id":"id_13f76a9e_72fb_4f44_ad6d_4064a7f75ba0","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Descuento","lengthValue2":"5","id":"id_44149796_6837_4cdf_90c0_c9eb77c5996b","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"TotalFinal","lengthValue2":"5","id":"id_8156e66f_4811_48ad_ba1c_cbf9f0ce9f4a","initValue":"0"},{"newline":true,"@type":"Output","id":"id_91203763_0260_4233_bb84_a59ef17ec57f","value":"\"ingrese la cantidad de horas que ha estado su vehiculo estacionado\""},{"@type":"Input","name":"Horas","id":"id_b8986d8c_6753_4240_8226_4260f2696be8","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"TotalFinal","id":"id_ed03a98d_ad86_4b26_96d5_5567b4476c6c","value":"Horas*1600"},{"newline":true,"@type":"Output","id":"id_cfba400d_f897_4882_9369_7bfb0a4e1afb","value":"\"Su total a pagar es de = \"+TotalFinal+\"\""}],"id":"id_682a8f0c_f3df_4f1b_ad7a_ba8e22c56875"},"trueBlock":{"statements":[{"@type":"Assign","name":"TotalSinDescuento","id":"id_d6c4c3f5_0ff6_4bdb_88b0_c08a5f44df63","value":"Horas*900"},{"@type":"Assign","name":"Descuento","id":"id_e9ee3294_423d_4e78_ac1e_8f0cd71d01e0","value":"TotalSinDescuento*0.15"},{"@type":"Assign","name":"TotalFinal","id":"id_b9b65aaa_4915_463b_a8da_a891e4fbdd12","value":"TotalSinDescuento-Descuento"},{"newline":true,"@type":"Output","id":"id_9818cba4_98f9_485f_95ac_89b01390fb41","value":"\"Su monton Final es de = \"+TotalFinal+\"pesos por larga estadia\""}],"id":"id_8f4071c5_b056_49c3_894b_175b57169b75"},"condition":"Horas>4","@type":"If","id":"id_c4fd35ce_a42f_40ab_9a58_741206074ac7"},{"@type":"Return","id":"id_13fdf579_e8cb_42a6_8569_eb30895eeda7","maybeValue":null}],"parameters":[]},"id":"id_562d9dd3_fd4e_4c84_a1d8_f1b40bc593c8","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":447}