{"functions":[],"name":"Ejercicio-vehiculos","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_begin"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"distanciatotal","lengthValue2":"5","id":"id_dist","initValue":"18000 * 5"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"preciocombustible","lengthValue2":"5","id":"id_prec_comb","initValue":"4200"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"costocombustibleA","lengthValue2":"5","id":"id_combA","initValue":"(distanciatotal / 13) * preciocombustible"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"costomantenimientoA","lengthValue2":"5","id":"id_mantA","initValue":"2200000 * 5"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"costonetoA","lengthValue2":"5","id":"id_netoA","initValue":"72000000 + costocombustibleA + costomantenimientoA - 32000000"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"costocombustibleB","lengthValue2":"5","id":"id_combB","initValue":"(distanciatotal / 17) * preciocombustible"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"costomantenimientoB","lengthValue2":"5","id":"id_mantB","initValue":"1800000 * 5"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"costonetoB","lengthValue2":"5","id":"id_netoB","initValue":"84000000 + costocombustibleB + costomantenimientoB - 40000000"},{"newline":true,"@type":"Output","id":"id_out_A","value":"\"Costo Neto Vehiculo A: $\" + costonetoA"},{"newline":true,"@type":"Output","id":"id_out_B","value":"\"Costo Neto Vehiculo B: $\" + costonetoB"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_out_winB","value":"\"El Vehiculo B es mas conveniente.\""}],"id":"id_false_block"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_out_winA","value":"\"El Vehiculo A es mas conveniente.\""}],"id":"id_true_block"},"condition":"costonetoA < costonetoB","@type":"If","id":"id_comparacion"},{"@type":"Return","id":"id_return_final","maybeValue":null}],"parameters":[]},"id":"id_bfa02478_e00b_4759_af75_ba323dd0591c","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"scala","showGenCode":false},"version":"0.3","revision":85}