by @Bruno CANTERO Fork
{"functions":[],"name":"Sem 1 - Ej","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c918eded_8117_4bfe_9214_06366da5834e"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Nota1","lengthValue2":"5","id":"id_501f4e1d_8ce4_4189_b40e_30fb7b77db02","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Nota2","lengthValue2":"5","id":"id_aa24552e_4997_4053_858b_8d86f015439c","initValue":null},{"newline":true,"@type":"Output","id":"id_b1b575a9_531c_489c_bc03_a50a7ec8258d","value":"\"Por favor, ingrese la Nota 1:\""},{"@type":"Input","name":"Nota1","id":"id_f9ece95e_d6d2_4d85_81a8_8cf98698cd61","prompt":null},{"condition":"Nota1 < 0 || Nota1>10","@type":"DoWhile","id":"id_e408067f_68d8_4f5d_b5aa_c08426aa742c","body":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_3ba3aa43_70f8_4a57_ad64_04739a7975ff"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_187f9c94_cdf6_432d_98c2_47acf7f16e0e","value":"\"La Nota 1 no puede ser mayor que 10. Por favor, ingresala nuevamente:\""},{"@type":"Input","name":"Nota1","id":"id_6a2ad7b3_3f0d_4fc7_b145_8e447ae966d1","prompt":null}],"id":"id_482e3663_a60d_489c_95a2_1e18bd6d8f53"},"condition":"Nota1>10","@type":"If","id":"id_edc06a6a_bdfb_47a4_94a3_ddb87fd81f73"}],"id":"id_b07d080f_3cb4_4925_a34e_7f867c477892"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_813a3c25_c2f9_40dc_8bce_83c614ee381a","value":"\"La Nota 1 no puede ser negativa. Por favor, ingresala nuevamente:\""},{"@type":"Input","name":"Nota1","id":"id_9e9cca9f_4981_4d9d_8ea2_b7665ab81de6","prompt":null}],"id":"id_1c7c9ef9_9ba8_4b51_8246_09bd15957bd4"},"condition":"Nota1 < 0","@type":"If","id":"id_fe7edf39_2366_4b98_ace4_68c3e98a476f"}],"id":"id_342dd8d4_b3a6_4acc_80df_65355edc11b2"}},{"newline":true,"@type":"Output","id":"id_36b36ccf_ef97_4785_866b_d55d6db1048e","value":"\"Por favor, ingrese la Nota 2:\""},{"@type":"Input","name":"Nota2","id":"id_d6bf1836_14a6_4885_9419_cff066e214dd","prompt":null},{"condition":"Nota2 < 0 || Nota2>10","@type":"DoWhile","id":"id_cf22c335_6585_4208_ad2f_a18ad77618d9","body":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_e6d8e428_23eb_4503_a81b_7f165c2070d2"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_16f8702f_37a2_446f_97c3_7c5ceb73eb6d","value":"\"La Nota 2 no puede ser mayor que 10. Por favor, ingresala nuevamente:\""},{"@type":"Input","name":"Nota2","id":"id_c1ea1caf_aef5_4d26_be70_492f77174835","prompt":null}],"id":"id_af052980_db74_401f_a163_65e3748e89eb"},"condition":"Nota2 > 10","@type":"If","id":"id_df51811e_de9f_44c4_89d0_9313e63984ad"}],"id":"id_fd6a2967_6c12_43b9_9bab_377571b1efb7"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0bfff34a_a51f_46d8_91e0_3301036d609a","value":"\"La Nota 2 no puede ser negativa. Por favor, ingresala nuevamente:\""},{"@type":"Input","name":"Nota2","id":"id_bdaab2d1_57d7_4808_9f4e_da617ff81d05","prompt":null}],"id":"id_9a0db8c5_8ed2_4688_a1d5_445ceaee218b"},"condition":"Nota2 < 0 || Nota2>10","@type":"If","id":"id_c13b3ce2_a0e4_448d_bad7_e89f34de7384"}],"id":"id_ab892b6d_2954_41d1_81d5_ce249e8f3c89"}},{"newline":true,"@type":"Output","id":"id_3b7e9122_ffb5_4a63_868a_254f03600e10","value":"\"El promedio de las notas ingresadas es: \" +((Nota1+Nota2)/2)"},{"@type":"Return","id":"id_750545e7_61eb_44d3_8d9c_474c6bbb7579","maybeValue":null}],"parameters":[]},"id":"id_19511c41_5060_4b95_ba03_097ab57c259c","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":845}