{"functions":[],"name":"31 taller decisiones","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_8afb08ce_7fb1_4777_9454_8086a4ca60ed"},{"newline":true,"@type":"Output","id":"id_b4e34257_824f_49ca_98fc_46458f10330d","value":"\"Programa que recibe el sueldo básico mensual del trabajador y el número de horas extras acumuladas en el año y calcula el nuevo sueldo.\""},{"@type":"Declare","tpe":"Real","name":"s","id":"id_219ebbf5_d15e_46df_abd1_1d95903f8770","initValue":"0"},{"@type":"Declare","tpe":"Real","name":"extra","id":"id_12362990_5e56_45bc_8932_758e08cc60b5","initValue":"0"},{"@type":"Declare","tpe":"Real","name":"aumento","id":"id_5bb0c243_5bf6_4252_882f_282882807fe1","initValue":"0"},{"@type":"Input","name":"s","id":"id_a4e04fd4_db1c_41af_8f39_76572c0be92e","prompt":"Ingrese el sueldo base del empleado :"},{"@type":"Input","name":"extra","id":"id_463dadf0_5fce_41e2_8910_0e1c618e6eb8","prompt":"Ingrese la cantidad de horas extra laboradas en el año: "},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_7670a738_68c4_4e0c_8a6d_067ce4e1a2b3"},"trueBlock":{"statements":[{"@type":"Assign","name":"aumento","id":"id_b533f023_ec89_42f6_a27f_4a87aeda896b","value":"s+s*0.1"}],"id":"id_e5993606_3495_4b8e_a0f1_c00f71af633e"},"condition":"extra>=100","@type":"If","id":"id_4d9b8c66_b059_4bd8_89d9_4425ad5dae31"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"aumento","id":"id_751a21c8_b5d3_4df9_99e3_0a611deaea60","value":"aumento+s*0.03"}],"id":"id_8faeb934_c4b6_4d91_835b_97ecd1cda89c"},"trueBlock":{"statements":[{"@type":"Assign","name":"aumento","id":"id_cee6c1c3_6858_4e61_8738_42978dffa98c","value":"aumento+s*0.1"}],"id":"id_32621641_fba1_4c91_b629_39327450548d"},"condition":"1000000<s && s<=2000000","@type":"If","id":"id_19f6d685_118a_46f5_a9e9_ef6ff934c99b"}],"id":"id_7a56b0f2_bbe1_4139_96c4_89e4285477cd"},"trueBlock":{"statements":[{"@type":"Assign","name":"aumento","id":"id_fe4e0143_7a76_4906_8fa1_27959733b8c1","value":"aumento+s*0.15"}],"id":"id_9db7021c_474e_43d5_aa2a_748102783d6d"},"condition":"s>500000 && s<=1000000","@type":"If","id":"id_601c8515_03d2_4df3_84be_72236ea867de"}],"id":"id_76d5a68c_2d50_4782_8d71_eb0aa1f0c0b1"},"trueBlock":{"statements":[{"@type":"Assign","name":"aumento","id":"id_f58267d8_b8c8_415d_8bef_6bcdf13ef60c","value":"aumento+s*0.25"}],"id":"id_a13ff0c4_52c2_4986_bbe6_0015640ae14b"},"condition":"s<=500000","@type":"If","id":"id_5663fdc4_738b_40d8_a053_1f5b1c82aa5e"},{"newline":true,"@type":"Output","id":"id_6bc03dcc_eabf_4f44_bccb_f4425d163e85","value":"\"El sueldo con el aumento correspondiente será de: \""},{"newline":false,"@type":"Output","id":"id_da8fadf2_0268_4737_aa52_5c2be5451c17","value":"aumento"}],"id":"id_bad7f4e4_eb77_4938_8f3a_12e40509efe8"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c94abdb6_b9a4_4f91_8ca0_a569d4dab6b1","value":"\"La cantidad de horas extra laboradas debe ser igual o superior a 0.\""}],"id":"id_8d71a8ae_8710_421a_a54b_f71bda6532b1"},"condition":"extra<0","@type":"If","id":"id_021c5671_3503_4868_bef9_415abb7549c6"}],"id":"id_aa50fffe_6c00_4dc4_aaa5_877cd4e23b2a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_fc5c3c0d_3513_4dfc_907f_97aa5134bd54","value":"\"El salario base debe ser mayor a 0.\""}],"id":"id_33a0e605_c7c0_40b4_a8fd_2c94b79bc494"},"condition":"s<=0","@type":"If","id":"id_8b93f7d2_2d02_4b79_b043_c85649fb558e"},{"@type":"Return","id":"id_6c4687ca_d537_4fbc_946d_9b3a026aa2b8","maybeValue":null}],"parameters":[]},"id":"id_f2d80e70_aff6_419d_8170_4120f218aedc","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":595}