by @ABDULLAH AMIR Fork
{"functions":[],"name":"Q2 area of circl","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_0cb68dbd_b097_46d6_864b_957d66fb3e45"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"r","lengthValue2":"5","id":"id_93664dc3_f662_4773_aab7_7ab52c98b262","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"area","lengthValue2":"5","id":"id_5a0b56c0_576a_490e_a27d_d2cfbefdd15c","initValue":null},{"newline":true,"@type":"Output","id":"id_0356fc2d_737c_435a_a3c5_3f1c4e6036d4","value":"\"enter the radius of the circle\""},{"@type":"Input","name":"r","id":"id_ed9e1b44_496b_4b2d_91f5_0f2fd573705d","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4f4d53c5_6fbe_4a02_b1eb_4edc4c54beb6","value":"\"value must be greater than 0\""}],"id":"id_1f74b6ec_6469_4cab_a6f9_c82c61fb00bb"},"trueBlock":{"statements":[{"@type":"Assign","name":"area","id":"id_a02a4566_18bc_4c37_b4a1_a884f8a5d95b","value":"3.14 * r * r"},{"newline":true,"@type":"Output","id":"id_05b070cf_dec4_4e5c_8f66_1ad801ab2912","value":"\"area of circle: \"+ area"}],"id":"id_87ce96a8_ac3c_4026_aeca_3cdd2af270cb"},"condition":"r>0","@type":"If","id":"id_75c2fc77_2fac_48a8_9877_b2da6627305f"},{"@type":"Return","id":"id_418a4364_1fcc_4b48_aded_8056df412298","maybeValue":null}],"parameters":[]},"id":"id_f1ae5a20_a4ec_48b3_9a43_71a2d06da569","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":204}