by @nicjose Fork
{"functions":[],"name":"promedio","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_ee6bdc65_c2a8_47ed_b929_4c6f3600f61c"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"calificacion","lengthValue2":"5","id":"id_c583f46d_d2e4_48c9_98c4_d540b30e2b22","initValue":"0"},{"newline":true,"@type":"Output","id":"id_695461a1_f1f9_47bd_b647_260d5e55daaf","value":"\"ingresa calificación\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"x","lengthValue2":"5","id":"id_d97040d5_5490_4bdc_b0c0_8a7ee1dafdad","initValue":"0"},{"@type":"Input","name":"x","id":"id_73788732_68f2_455f_93b3_84289ceaa498","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"y","lengthValue2":"5","id":"id_16d58d94_2ccb_443c_aac2_79637ca612ab","initValue":"0"},{"@type":"Input","name":"y","id":"id_5895762b_d590_43e7_8b76_e9e8ec50ba0c","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"z","lengthValue2":"5","id":"id_6731c3fb_a1e1_488a_a3ab_f9089094fa7c","initValue":"0"},{"@type":"Input","name":"z","id":"id_99d670be_4ade_47e8_be40_ea22e1ad0f34","prompt":null},{"@type":"Assign","name":"calificacion","id":"id_0f73265d_e23e_4700_be25_0cceb1cee2a7","value":"(x+z+y)/3"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_f9923648_34e5_4529_92e2_89187e7b93b1","value":"\"estas reprobado con \"+calificacion"}],"id":"id_93523298_565d_4eaa_83e1_40a3fdbf81c6"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8ce55f59_842a_4d7d_8aff_f7fa80ae4855","value":"\"estas aprobado con \" +calificacion"}],"id":"id_2ae60b20_b325_43ba_aba3_241eb9af1939"},"condition":"calificacion>= 60","@type":"If","id":"id_8abee902_7b64_4bda_8e0e_3c8fa7890fe2"},{"@type":"Return","id":"id_acca0e78_667e_4517_9073_4aac4850ee98","maybeValue":null}],"parameters":[]},"id":"id_b5a602b3_401b_491e_a849_de19802c3796","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":820}