{"functions":[],"name":"Diagrama de flujo","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_8e66f039_13e4_43f8_aa96_22cd64c341e8"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precio1","lengthValue2":"5","id":"id_a81fc5ed_50f7_4a2a_82a0_ba5e71eed87b","initValue":null},{"@type":"Input","name":"precio1","id":"id_7726c496_166b_4dfe_bb91_8663f81fef4a","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"eficiencia1","lengthValue2":"5","id":"id_f8eb4a75_8b18_48e6_8334_927c8ea2bf7d","initValue":null},{"@type":"Input","name":"eficiencia1","id":"id_0246bb3b_aa05_42f4_9e6d_e88d15e5aa79","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precio2","lengthValue2":"5","id":"id_34d193ae_b3d9_45c4_ae8d_dd48a75b3d28","initValue":null},{"@type":"Input","name":"precio2","id":"id_c0247838_0b4f_42c1_82ed_da1675c9ad21","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"eficiencia2","lengthValue2":"5","id":"id_03e783e9_dd3a_4d81_b996_cc80e5213528","initValue":null},{"@type":"Input","name":"eficiencia2","id":"id_51ec6d8f_0148_4241_9b89_237ff146f1b2","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"galon","lengthValue2":"5","id":"id_00513846_9968_4cee_931a_32c6abd8bafa","initValue":"4"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"millas","lengthValue2":"5","id":"id_4b62f004_7b51_45d1_bd5f_c7728293a9e7","initValue":"15000"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"tiempo","lengthValue2":"5","id":"id_b355fcf4_470b_4e12_a1ef_0257204b9882","initValue":"10"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"total1","lengthValue2":"5","id":"id_636d00f7_297f_467f_b69f_5a3a862f7b6d","initValue":null},{"@type":"Assign","name":"total1","id":"id_1b4adc09_4ee7_4840_8976_8c6d4a59679b","value":"precio1 + tiempo * galon * (millas / eficiencia1)"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"total2","lengthValue2":"5","id":"id_bd38e037_e63f_424a_80d5_a9941a816fe1","initValue":null},{"@type":"Assign","name":"total2","id":"id_35f826ec_5e7c_4ed5_9636_4ddae0e15a8f","value":"precio2 + tiempo * galon * (millas / eficiencia2)"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"mejorcarro","lengthValue2":"5","id":"id_1ba591c9_72ea_4977_ae1a_1357160f69b9","initValue":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"mejorcarro","id":"id_f2db6587_db02_481c_9036_80e63abe21b5","value":"2"}],"id":"id_497f0a5b_f42e_48a7_907f_cee360ce7009"},"trueBlock":{"statements":[{"@type":"Assign","name":"mejorcarro","id":"id_031c65d3_3d32_4fa0_bebb_83a2399c12a6","value":"1"}],"id":"id_3b6092f5_9f1e_4e99_818c_3d6cd9700a48"},"condition":"total1<total2","@type":"If","id":"id_529253f2_d555_4d5e_9100_852a6d997fb9"},{"newline":false,"@type":"Output","id":"id_e9cbced8_a493_41b3_b1f2_712933e02675","value":"\"El total del carro 1 es: \""},{"newline":true,"@type":"Output","id":"id_7f3d2561_84b2_4b24_9f57_86e99b2175ff","value":"total1"},{"newline":false,"@type":"Output","id":"id_b4372d0b_a769_4e31_a57d_09d19561eb56","value":"\"El total del carro 2 es: \""},{"newline":true,"@type":"Output","id":"id_023b01c9_5484_4ab7_8c69_b716e91b8c44","value":"total2"},{"newline":false,"@type":"Output","id":"id_ea22b8a2_bdba_4c0e_b53b_df6867d99d45","value":"\"Entonces el mejor carro es: \""},{"newline":true,"@type":"Output","id":"id_a8b2a7c2_d10b_45da_9812_c03047b50413","value":"mejorcarro"},{"@type":"Return","id":"id_19ce3d5b_3c32_4e8d_b227_384caa25fd6c","maybeValue":null}],"parameters":[]},"id":"id_f0217f32_8b41_44d0_98ed_73ffd6673c2e","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":false},"version":"0.3","revision":967}