by @MATHIAS CACERES MORALES Fork
{"functions":[],"name":"13.Promoción de Bencinera Con.","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_00ae323c_9443_4980_ac91_dd2c9d0671ae"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Precio","lengthValue2":"5","id":"id_0551ede8_f854_47cc_b4ac_a6af15334eb7","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"CantidadL","lengthValue2":"5","id":"id_7b0c4897_86d0_4837_b507_722252a5b429","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"T","lengthValue2":"5","id":"id_83bc160c_8303_48b1_bb7d_58c0eece8aff","initValue":"1"},{"newline":true,"@type":"Output","id":"id_cb6f1a42_6512_42b1_aab4_653efdcc151f","value":"\"Colocar el precio por litro de combustible en pesos chilenos\""},{"@type":"Input","name":"Precio","id":"id_0113c54a_2fe0_47ab_906b_87bbca105ed6","prompt":null},{"newline":true,"@type":"Output","id":"id_81d91f3e_b7e3_4ba8_b4e1_9d727bddbdcf","value":"\"coloque la cantidad de litros cargados\""},{"@type":"Input","name":"CantidadL","id":"id_8b316dd0_cbe0_4ba0_9fdf_94e56e335557","prompt":null},{"newline":true,"@type":"Output","id":"id_8b8c7e1c_3a45_469f_b7a7_f69e8c5fe82f","value":"\"Ponga el valor 1 si tiene tarjeta de Fidelidad, y si no tiene, coloque 0\""},{"@type":"Input","name":"T","id":"id_dede56ef_ad5d_425d_b6f0_3327d0ce4539","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"Precio","id":"id_9b59b2b8_bb2a_4369_a2ea_36bafb8fc2e4","value":"Precio*CantidadL"},{"newline":true,"@type":"Output","id":"id_b5b1d70d_c4d3_4023_a553_118224c6d9c5","value":"\"El precio que debe pagar es de \"+Precio+\" pesos chilenos"}],"id":"id_42da646b_0dc7_4b4a_847f_f5ad39d90a2d"},"trueBlock":{"statements":[{"@type":"Assign","name":"Precio","id":"id_b1de39da_f55d_4738_af5e_78c945bbbad2","value":"CantidadL*(Precio-60)"},{"newline":true,"@type":"Output","id":"id_2ef6c5e0_90b6_4c89_8d46_f9adbcec8853","value":"\"El precio a pagar sería de \"+Precio+\" pesos chilenos\""},{"@type":"Assign","name":"Precio","id":"id_8427a173_b8ac_4b72_8b0a_e7bd67f8dee0","value":"Precio*0.05"},{"newline":true,"@type":"Output","id":"id_17fcd870_33bb_4fe0_a6ab_dff41ddb8791","value":"\"Por poseer la tarjeta de Fidelidad, tendráun cupón de beneficio para su próxima cuenta equivalente a su compra de hoy, lo cual es de \"+Precio+\" pesos chilenos\""}],"id":"id_017dc43a_d82e_4891_b4ce_4de08a486821"},"condition":"T==1","@type":"If","id":"id_b01c30f0_cf5d_43f6_9de0_0674a34cf39b"},{"@type":"Return","id":"id_33ed5e0a_bc95_462b_90c6_86b300ccf30b","maybeValue":null}],"parameters":[]},"id":"id_8fa61bf6_8ae6_4bbc_b9f4_5ee43d8707a6","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":855}