by @aisha khalid Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_71896d10_6064_46a0_91e2_badf469ffc68"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"numerator","lengthValue2":"5","id":"id_b94e5ebc_b623_4f0a_8643_0a6dbd159df4","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"denominator","lengthValue2":"5","id":"id_e7124f98_ffe9_4455_b672_c90461818320","initValue":null},{"@type":"Input","name":"numerator","id":"id_6ad70550_b7d0_4e8b_a4b0_c0241bb836a3","prompt":null},{"@type":"Input","name":"denominator","id":"id_9716880b_bfec_412e_935b_74cf153645ab","prompt":null},{"falseBlock":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"result","lengthValue2":"5","id":"id_60e5a54d_f6df_4491_9150_efb6276b956c","initValue":"denominator/numerator"},{"newline":true,"@type":"Output","id":"id_73b42d21_6064_4a81_8033_221071ccef1f","value":"result"}],"id":"id_c5cb9d0f_0e88_47dc_ae2d_4bd6e7bf2df1"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_daab4cd5_c31a_42aa_8a5c_e0e2207dddfc","value":"\"error:cannot divide by zero\""}],"id":"id_bf05cbd3_5cc5_46ad_a4e6_ea0b39e6b630"},"condition":"denominator==0","@type":"If","id":"id_5f836bc3_90c0_4d05_834f_5ebd42acb6c4"},{"@type":"Return","id":"id_e535edf5_c4bd_4d9f_a589_0890ba06f169","maybeValue":null}],"parameters":[]},"id":"id_7ad9c005_4325_40b1_959f_bdc87c02b832","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":229}