by @Ryan Fork
{"functions":[],"name":"question 2","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_74956f29_37b7_4b13_9a40_12269c2b748c"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"r","lengthValue2":"5","id":"id_750e3543_8c27_4a31_b7cb_38d11e2fb2fe","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"area","lengthValue2":"5","id":"id_4912e517_3773_4863_b92a_6d4128761b67","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"pi","lengthValue2":"5","id":"id_59c02772_66d3_4ea1_b0ad_58e3950157c3","initValue":"3.14"},{"newline":true,"@type":"Output","id":"id_cb3ade98_81a2_401b_9ce1_579996b2357d","value":"\"enter radius\""},{"@type":"Input","name":"r","id":"id_16ff04a8_876f_4c34_9684_32718011c8cb","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6a5e5f8a_b03f_44a7_9de1_fcd7d456629b","value":"\"the inserted data is invalid\""}],"id":"id_da26f072_8df9_4a40_bb2c_d05491a5d8cc"},"trueBlock":{"statements":[{"@type":"Assign","name":"area","id":"id_9655b61b_b1de_4728_9aa5_3622825cc2ad","value":"pi*r*r"},{"newline":true,"@type":"Output","id":"id_d5ca549d_a9fc_43ce_aef9_7508a828c6dd","value":"\"area of circle : \"+area"}],"id":"id_1a46f243_0bd7_452b_abf3_05995d2cf581"},"condition":"r>0","@type":"If","id":"id_2836e01f_0eaf_4bb2_9d4f_d3138a44dbd8"},{"@type":"Return","id":"id_da4dace3_4da8_4eb7_80c3_980c5279ede5","maybeValue":null}],"parameters":[]},"id":"id_90852e02_2bb9_4df5_a97a_2d3364a657b7","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":174}