by @stud. Adam Tykutskyi Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_d50db59e_f2c8_4c34_a454_07653896577e"},{"@type":"Declare","tpe":"Integer","name":"nh","id":"id_3913083f_9949_4893_91ca_aab4ebcd57ad","initValue":null},{"@type":"Declare","tpe":"Real","name":"x","id":"id_95b0fad9_256a_4bcd_b2a5_7f1db6a899d0","initValue":null},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_dbd2f897_66db_4639_a70a_5d8d84d22780","initValue":null},{"newline":true,"@type":"Output","id":"id_8af41282_7aa3_4831_8156_0fc02404529d","value":"\"dammi le nh\""},{"@type":"Input","name":"nh","id":"id_dd9e72fa_3787_4674_b861_e5ccb343c68c","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_06445415_dabf_4ed5_a70b_a695f3bb6fb0","value":"\"paghi 1\""}],"id":"id_7788cc67_36c6_4e7b_b084_c7d63212f183"},"trueBlock":{"statements":[{"@type":"Assign","name":"x","id":"id_14b42743_5c70_4db5_a3d9_82480167ccde","value":"(nh-1)*0.50+1"},{"newline":true,"@type":"Output","id":"id_fb97bb29_8475_4773_b28c_e8ac798a8d65","value":"\"paghi \" + x + \"\""}],"id":"id_2bfcb1cb_6a2e_421e_9f1b_fe71989dec16"},"condition":"nh>1","@type":"If","id":"id_2a9a8fae_86ee_43a0_a547_ed22b8a760f5"},{"@type":"Return","id":"id_2c3b55ef_6aa2_4535_8034_3421f9214506","maybeValue":null}],"parameters":[]},"id":"id_81d96715_8abe_4c75_be3d_b62370b7f226","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":84}