by @Ranch Fork
{"functions":[],"name":"Rendimiento","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_96e1c130_550d_451f_ae04_f19772e7128e"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"LitrosT","lengthValue2":"5","id":"id_91460bce_07c7_4aa0_9ce3_10e94d1151bc","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"kmporL","lengthValue2":"5","id":"id_07464b98_898d_42ad_9cab_d04f5fa60bb0","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Distanciakm","lengthValue2":"5","id":"id_66f6dcf5_3eb9_40b4_a276_ce87e9fd26b0","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"PrecioLitro","lengthValue2":"5","id":"id_7709c408_160a_4dc8_95df_990ed0e9913b","initValue":"0"},{"newline":true,"@type":"Output","id":"id_22821309_5a5f_41ff_839a_576f9aa43e43","value":"\"¿Cuál es la distancia en km de ida?\""},{"@type":"Input","name":"Distanciakm","id":"id_71b6d5d2_5dc1_4ba6_b2bb_f3f0914b5dcf","prompt":null},{"newline":true,"@type":"Output","id":"id_8d94e90c_31f1_4533_bec2_d8ade5d8d185","value":"\"¿Cuántos kilometros se consumen por litro?\""},{"@type":"Input","name":"kmporL","id":"id_5d6be05f_2fc8_454f_8d3b_58e2eb169830","prompt":null},{"newline":true,"@type":"Output","id":"id_a357ad0c_9471_4658_b6f9_e9e9615e6e6b","value":"\"¿Cuánto tiene el tanque?\""},{"@type":"Input","name":"LitrosT","id":"id_1d487f52_c95e_4008_b820_405542c5b569","prompt":null},{"newline":true,"@type":"Output","id":"id_dad72c38_b849_4ca7_9909_e19218f17b9b","value":"\"¿A cuánto está el litro?\""},{"@type":"Input","name":"PrecioLitro","id":"id_b63511a0_6beb_4373_931d_c7987b156784","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"DistanciaL","lengthValue2":"5","id":"id_1f4307f7_c73a_4cce_8ae2_dbf423a9d8ea","initValue":"Distanciakm/kmporL"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"PrecioLTotal","lengthValue2":"5","id":"id_09ad81d8_6b37_4cc2_a20e_f159886e9fd2","initValue":"DistanciaL*PrecioLitro"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"DistanciaLT","lengthValue2":"5","id":"id_b74f6131_8301_4a0d_8d9e_a1ca5976f7bb","initValue":"DistanciaL*2"},{"falseBlock":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"LitrosFaltantes","lengthValue2":"5","id":"id_a16c2abc_91d6_42d6_af89_8e8a925578a9","initValue":"DistanciaLT-LitrosT"},{"newline":true,"@type":"Output","id":"id_76d07a35_23f2_45e6_91c0_31226bcc6190","value":"\"Para ir y regresar nos faltan \"+LitrosFaltantes"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"PrecioLitroT","lengthValue2":"5","id":"id_e1594a46_62ec_4e20_9d17_0ebf2c4c7136","initValue":"PrecioLitro*LitrosFaltantes"},{"newline":true,"@type":"Output","id":"id_8edf8ee2_2421_4cf3_af75_b64c2ba958d6","value":"\"Costaría \"+PrecioLitroT"}],"id":"id_0890c3a8_a04f_4a77_8400_7bf6fd7d14c5"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d86a0ea4_4d85_470c_8bfd_ac071d6dd070","value":"\"Nos alcanza, no hay que cargar\""}],"id":"id_1f67d0ab_8755_476c_a211_a98392b6538d"},"condition":"LitrosT>=DistanciaLT","@type":"If","id":"id_2e464aae_a183_4b83_86cc_0df627f45c65"},{"@type":"Return","id":"id_7a4d0800_eee3_4471_8b9c_81e72ae019d1","maybeValue":null}],"parameters":[]},"id":"id_87ce331f_55c8_436f_8a82_efbd8a177a9a","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":1143}