by @Juan Ignacio Valladares Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_8595bc78_9173_405d_89f3_a656e1780a37"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"PNota","lengthValue2":"5","id":"id_4116aad5_372f_4814_b95f_f12ff84a801d","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"SNota","lengthValue2":"5","id":"id_323d903f_2329_4c18_b193_13b1d52db9d1","initValue":null},{"@type":"Input","name":"PNota","id":"id_5e5d6695_9248_43d6_ad9d_45a432aa26ca","prompt":null},{"@type":"Input","name":"SNota","id":"id_3ac6c5bf_269f_49a4_88a7_d444f154b669","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_004a5bcc_d48b_48af_ab09_b10361054c38","value":"\"Ingrese un valor de 1 a 10\""}],"id":"id_1aec3dcd_0e7b_4190_a160_70f5c39238db"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_00f98a5e_6718_42fc_ae24_9bc59538508d","value":"\"Ingrese un valor de 1 a 10\""}],"id":"id_c5dd99cc_4d21_4d57_87bf_9b8424768a3e"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_42a102b5_3432_4696_b328_e156017a73a7","value":"(PNota+SNota) / 2"}],"id":"id_58f5551e_2290_4cec_a9f8_109cb6cfc5aa"},"condition":"SNota <=10","@type":"If","id":"id_a7b99957_b545_4c77_b11a_d5fb15e33b97"}],"id":"id_444cb685_801f_40bc_95e3_da4a0e692daf"},"condition":"PNota <= 10","@type":"If","id":"id_c18f28bb_c385_4953_8af1_1aabb6c515a9"},{"@type":"Return","id":"id_4b9d804a_5d5e_431c_9da6_c2628163ddc4","maybeValue":null}],"parameters":[]},"id":"id_b2fc0ecf_5104_4c81_84e4_4ee78dedd813","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":181}