by @Brayan Villada Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_19f8b59e_5c8c_4a1d_9e2d_45d4dd95b1e8"},{"@type":"Declare","tpe":"String","name":"configuracion","id":"id_85cfa53e_e37e_4731_977e_756bd89083a8","initValue":null},{"@type":"Declare","tpe":"Real","name":"R1","id":"id_e7d60a2a_702b_4ec4_a00d_a3474263c08b","initValue":null},{"@type":"Declare","tpe":"Real","name":"R2","id":"id_055e15f9_a74b_49ec_92ba_cb98cc309d4c","initValue":null},{"@type":"Declare","tpe":"Real","name":"R3","id":"id_dc34be50_1143_4f74_b84a_a6096279b8c2","initValue":null},{"@type":"Declare","tpe":"Real","name":"Limite","id":"id_1ba59204_46fa_4b7b_a1a3_a8fe78841a58","initValue":null},{"@type":"Declare","tpe":"Real","name":"Rt","id":"id_23198690_ee0b_41ff_a75d_d7478a61ed97","initValue":null},{"condition":"true","@type":"While","id":"id_c5330b22_5937_49ef_b102_88cb44b2f2c2","body":{"statements":[{"@type":"Input","name":"R1","id":"id_8743fb17_eb4d_4bfe_8404_37884ae8b277","prompt":"ingrese el valor de la R1"},{"@type":"Input","name":"R2","id":"id_40f03158_7f26_4833_8a6b_53026917ef04","prompt":"ingrese el valor de la R2"},{"@type":"Input","name":"R3","id":"id_1c9716af_51e4_460a_8668_3d2aff91c146","prompt":"ingrese el valor de la R3"},{"@type":"Input","name":"configuracion","id":"id_8f64d9ae_ad7e_40da_81b8_f0f50aa5c09b","prompt":"seleccione la configuracion (s, p, M1, M2, M3)"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_4a1060b9_d2ca_4bb6_b564_d7e2aad0c3b1"},"trueBlock":{"statements":[{"@type":"Assign","name":"Rt","id":"id_ec73582e_5a46_4d6f_b6f3_4ff692f52ffe","value":"1/((1/R2+R3)+1/R1)"},{"newline":true,"@type":"Output","id":"id_8f745c1b_13b3_4228_8d92_f7f96a70a0a5","value":"\"La resistencia total es:\"+Rt"}],"id":"id_f9f47876_0ed8_4512_a875_8afac491ea59"},"condition":"configuracion==\"M3\"","@type":"If","id":"id_71899c9d_4251_4b8a_9d10_f6969277c913"}],"id":"id_119799cb_658d_44ab_a557_2823c07b3c85"},"trueBlock":{"statements":[{"@type":"Assign","name":"Rt","id":"id_4bdd0a22_1043_47eb_b824_f62f1a38d05e","value":"1/((1/R1+R3)+1/R2)"},{"newline":true,"@type":"Output","id":"id_54afad32_6c19_4f58_b742_c5ffbf968328","value":"\"La resistencia total es:\"+Rt"}],"id":"id_a9b60bee_bf0c_45fd_968f_97f35288271f"},"condition":"configuracion==\"M2\"","@type":"If","id":"id_2c3acaa7_7b09_4ba9_893f_ce3f5a7fe3fe"}],"id":"id_54de87ba_1588_406c_ab04_6d683072ca42"},"trueBlock":{"statements":[{"@type":"Assign","name":"Rt","id":"id_97f1d8dd_beef_4213_b8f0_2f4fef5e3ccf","value":"1/((1/R1+R2)+1/R3)"},{"newline":true,"@type":"Output","id":"id_f43dd494_d904_44f1_b5a4_60dd5f0ea879","value":"\"La resistencia total es:\"+Rt"}],"id":"id_99f21b7b_217d_48f1_9cd8_bd8fd33b199a"},"condition":"configuracion==\"M1\"","@type":"If","id":"id_17cda36f_1cfd_4414_a54e_f02cf04dd868"}],"id":"id_74492002_7b49_48e2_880b_62839abbc69a"},"trueBlock":{"statements":[{"@type":"Assign","name":"Rt","id":"id_90f9ba0a_6484_4236_bcb7_64d00d927a19","value":"(1/(1/R1+1/R2+1/R3))"},{"@type":"Assign","name":"Rt","id":"id_fecfd4d3_871d_4a35_8372_c7fc20034615","value":"Rt*0.9"},{"@type":"Input","name":"Limite","id":"id_6536053f_a4a4_4799_90b3_dacba64d2a77","prompt":"ingrese el valor limite en paralelo"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c91957d1_fd21_4047_ada9_6ccc5b66f896","value":"\"\"La resistencia total en serie es:\"+Rt"}],"id":"id_1b01aa7e_7c5d_4ab7_afb3_16e4f05728ab"},"trueBlock":{"statements":[{"@type":"Assign","name":"Rt","id":"id_f000aea8_e223_495d_8570_9722ddef0be9","value":"Rt-2"},{"newline":true,"@type":"Output","id":"id_3553695f_e703_4608_b657_e8be16e8bc2f","value":"\"Al estar por debajo del limitese le resta 2:\"+Rt"}],"id":"id_46960fd3_3be5_4708_88d4_6c9fb737af15"},"condition":"Rt<Limite","@type":"If","id":"id_0fc0a3f6_33c7_454e_a6a3_c890d42ee772"}],"id":"id_dff216d6_2617_4d39_a767_d223725670a1"},"condition":"configuracion==\"p\"","@type":"If","id":"id_ddfdd297_c981_4137_9b3e_b66d599e7124"}],"id":"id_9bfc5252_6f81_4927_a5b2_bcaa44dfcb67"},"trueBlock":{"statements":[{"@type":"Assign","name":"Rt","id":"id_23e2e9b4_98fd_42f9_a89e_9d54b7c72f21","value":"(R1+R2+R3)"},{"@type":"Assign","name":"Rt","id":"id_2bbf9d6a_821e_4a6b_bf92_2b264c38c4f3","value":"Rt*1.05"},{"@type":"Input","name":"Limite","id":"id_3df21def_f7c1_4f8c_8a09_fb469988242d","prompt":"ingrese el valor limite en serie"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3929e2a4_70f2_4ae8_ac4b_ee1eedc60295","value":"\"La resistencia total en serie es:\"+Rt"}],"id":"id_8ce23bae_e27b_4064_8bcf_d94ee3ee26cb"},"trueBlock":{"statements":[{"@type":"Assign","name":"Rt","id":"id_9c22c65c_17f6_48c0_8f4c_66d652e00fd6","value":"Rt+20"},{"newline":true,"@type":"Output","id":"id_c8cf7d33_5e53_41ab_8614_d89a66461d42","value":"\"Al superar el limite se le aumento 20:\"+Rt"}],"id":"id_f1f70145_70c8_443a_b7e0_d7d599e93aaa"},"condition":"Rt>Limite","@type":"If","id":"id_8c9b6def_bfa9_43e5_98ae_6fefa36f8dd9"}],"id":"id_d8ae7be9_9017_4902_a3a4_609c8c530344"},"condition":"configuracion==\"s\"","@type":"If","id":"id_134dc94b_2fe1_463c_93ce_f8c032a09e17"}],"id":"id_e03fa26e_c974_47b0_bfb0_c31b3ebe928d"}},{"@type":"Return","id":"id_c872fb14_b72e_4582_bd8c_f00d63bfb928","maybeValue":null}],"parameters":[]},"id":"id_77abb263_1539_40d6_a4eb_d867e1c4ef54","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":1380}