by @ADEEL ZULFIQAR Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c29d6a95_a1ec_43ce_812b_8446831e03d2"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"result","lengthValue2":"5","id":"id_26c6c283_1548_4723_b0d6_b6ee212df2a4","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"numenator","lengthValue2":"5","id":"id_fe170ab5_a9cc_4219_b2bd_15d92b69aca4","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"denomenator","lengthValue2":"5","id":"id_10c8ad5b_0236_4435_aae6_644e50513f2a","initValue":null},{"@type":"Input","name":"numenator","id":"id_e7a2f1cc_d5c7_4293_8f10_5d86d457ee49","prompt":null},{"@type":"Input","name":"denomenator","id":"id_027d4484_9742_4e69_a4e5_374b8cfeb097","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"result","id":"id_50bf7a35_05e5_45a2_b747_8fa068b2e400","value":"numenator/denomenator"},{"newline":true,"@type":"Output","id":"id_438cb7c4_15ec_4e62_b69e_81652d42600c","value":"result"}],"id":"id_c8d8bf84_b0e1_4ac2_ad88_5b9320f4bc41"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_70c6956a_94c9_48f6_bebe_3154d3d22fd0","value":"error :cannot divide by zero"}],"id":"id_6f91efec_47d1_4356_b97f_a97df4bf9ab6"},"condition":"denomenator==0","@type":"If","id":"id_e61589b0_92f5_423b_9ae2_579c518b8725"},{"@type":"Return","id":"id_c6f172e0_9167_4446_a524_62cb49f7a794","maybeValue":null}],"parameters":[]},"id":"id_8416b2b5_cf4f_4585_bd2f_0f62828a69c2","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":311}