by @Alexander Davies Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_529606e3_1d72_4dfa_97c4_fdd98cee20f3"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"num","lengthValue2":"5","id":"id_aff15699_6214_4e41_baea_5761ad3e0b83","initValue":"45"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"guess","lengthValue2":"5","id":"id_25a7c61f_6e10_4e55_96a4_6122a5a7d8c7","initValue":null},{"newline":true,"@type":"Output","id":"id_ced7285a_3d16_47bb_96d7_113520da60c4","value":"\"guess the number between 50 and 0\""},{"@type":"Input","name":"num","id":"id_d869c96c_fcb9_462b_814e_c96a7e1c3a3c","prompt":null},{"condition":"num == 45","@type":"While","id":"id_a2712779_2645_4fa4_b877_4cf7ba975e78","body":{"statements":[{"newline":true,"@type":"Output","id":"id_4af0b3a1_d38d_4f5f_ae2b_9bfbd0c4082c","value":"\"incorrect, try again\""}],"id":"id_21acdc88_2779_4a05_9c2c_f7a7a3ee95b1"}},{"newline":true,"@type":"Output","id":"id_814ea9e6_0e89_4a3a_810b_85b145199b31","value":"\"correct!\""},{"@type":"Return","id":"id_b2c56258_ae97_414b_ac51_8c6e8ec84b84","maybeValue":null}],"parameters":[]},"id":"id_93759b29_e8db_4e3c_9e4c_319588d756c0","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":322}