by @Estefania Moreno Rincon Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_33ddef28_df71_4847_bb41_0d781bf8ddfc"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"x","lengthValue2":"5","id":"id_f39b71de_e10c_402a_99b8_8df402854437","initValue":null},{"@type":"Input","name":"x","id":"id_9fcc7215_51ff_4227_9ec4_b6bc0c4117d7","prompt":null},{"condition":"x>0","@type":"While","id":"id_3ac3e4f2_5861_49d6_9910_05fcc9144a5a","body":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3b4dae1f_3e98_4b65_af95_978a459ec14c","value":"\"El número \"+x+\" es impar\""}],"id":"id_570df58b_7edd_4388_a564_71a9e0d0da9a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_77b35caf_c2e2_4e5c_804b_12e23bf8d08c","value":"\"El número \"+x+\" es par\""}],"id":"id_e6c62827_a2d2_430b_9f22_2194a13e304f"},"condition":"x%2==0","@type":"If","id":"id_f1ca25b6_4e14_4a6d_845d_c28f00819c8e"},{"@type":"Assign","name":"x","id":"id_64e5b1e6_7391_4543_aba6_daeb498864fa","value":"x-1"}],"id":"id_d2fcf853_8cda_4cfa_87b9_b128be563269"}},{"@type":"Return","id":"id_13e80570_2563_475b_b468_b2cd4536b411","maybeValue":null}],"parameters":[]},"id":"id_6d4756bd_bd20_4f3a_9c8f_0666b1febca6","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"c++","showGenCode":true},"version":"0.3","revision":594}