by @Sadiqua Naveed Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_e4a7a67a_1dba_4316_9011_ad98dfb16a33"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"numerator","lengthValue2":"5","id":"id_8bb6d7d2_275e_472c_bc20_57b30403e22b","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"denominator","lengthValue2":"5","id":"id_15c89e03_f81b_47a4_8b40_a243b0316c41","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"result","lengthValue2":"5","id":"id_80a1d678_f8bf_43d6_b5bd_9203cbeff1f2","initValue":null},{"@type":"Input","name":"numerator","id":"id_86c6fc6e_bb13_448d_a3a3_2da914c45ea6","prompt":null},{"@type":"Input","name":"denominator","id":"id_81bbe4e1_9531_4dce_835c_4f1f58309a64","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"result","id":"id_d7710db3_8458_46a3_b211_567ce87d2c29","value":"numerator/denominator"},{"newline":true,"@type":"Output","id":"id_3f4da8ac_e05b_46a7_a49a_f01f59b2d567","value":"resul"}],"id":"id_f096a0a3_2278_4d6d_87ec_82e8041dfe93"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_57eea2f8_6700_45a9_91ad_7e9086c244e5","value":"\"Error:Cannot divide by zero\""}],"id":"id_45b53d87_2422_46d2_a409_b772587641b2"},"condition":"denominator==0","@type":"If","id":"id_6dfc7d9f_0962_41a3_a47d_e1fa9708bca2"},{"@type":"Return","id":"id_ec9e479d_7407_482a_b091_d888cf1ff6a4","maybeValue":null}],"parameters":[]},"id":"id_7e551b2f_6b56_43a5_a9bf_70fec4655db7","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":160}