{"functions":[],"name":"12. Bono de Producción Indus.","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_e331e927_b059_40ee_90df_e701a1c251da"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"CantidadP","lengthValue2":"5","id":"id_55a56bcb_76f9_4023_9423_355ab82768b8","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"ValorP","lengthValue2":"5","id":"id_c1ef9ca4_22a1_42e1_b413_70241cec09dc","initValue":"0"},{"newline":true,"@type":"Output","id":"id_f8639446_3dc1_421e_a337_0d61f7ff673a","value":"\"Este programa calcula el precio a pagar por comprar piezas en pesos chilenos\""},{"newline":true,"@type":"Output","id":"id_afa66715_7105_487a_9c20_3f02f4ab82cc","value":"\"Poner la cantidad de piezas terminadas\""},{"@type":"Input","name":"CantidadP","id":"id_52804956_eae4_4d7f_a6e6_b9c7cc15f2c9","prompt":null},{"newline":true,"@type":"Output","id":"id_582e1515_163e_4856_9134_7648bc320b1f","value":"\"Ingrese el valor total de cada pieza en pesos chilenos\""},{"@type":"Input","name":"ValorP","id":"id_679c73c5_2f29_4546_ac1a_832ab82ceea9","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"ValorP","id":"id_c08ff4ef_0c4a_4305_a9a0_8f31d68fc0af","value":"CantidadP*ValorP"},{"newline":true,"@type":"Output","id":"id_68a26947_ddfc_4794_9cf2_1d5370522613","value":"\"El valor total que obtendrá sera de \"+ValorP+\" pesos chilenos\""}],"id":"id_095ad7f9_ec4d_44af_86ef_615478209cad"},"trueBlock":{"statements":[{"@type":"Assign","name":"ValorP","id":"id_24133335_6488_4399_82a2_5bca96485bdb","value":"(ValorP*100)+((CantidadP-100)*ValorP)*1.5+12000"},{"newline":true,"@type":"Output","id":"id_e073fa39_2a60_4061_8126_7702e4926b80","value":"\"Su valor total que obtendrá será de \"+ValorP+\" Pesos chilenos, además se agregó un recargo del 50% y se sumó una bonificación de $12000 pesos chilenos\""}],"id":"id_d9ecc05f_6472_409e_b728_07372aae0e55"},"condition":"CantidadP>100","@type":"If","id":"id_f5216a56_92b1_4923_bf0f_046dcc5269e4"},{"@type":"Return","id":"id_a9294801_c975_4b4f_ac83_6f989945ea40","maybeValue":null}],"parameters":[]},"id":"id_b2c17989_d211_4171_963d_59b1d0a0ab78","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":857}