by @meradiayoub Fork
{"functions":[],"name":"Calculate Rectangle Area","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_e0936cfb_c9d5_433e_b6c6_6fe6c2810fcc"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"length","lengthValue2":"5","id":"id_9ad021b0_b50d_4a47_b6be_064cc464dbcf","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"width","lengthValue2":"5","id":"id_2ff9d317_5e3a_4fee_9282_f18ad3f5b67d","initValue":null},{"newline":true,"@type":"Output","id":"id_2bd46545_6689_4934_8350_e780da442e24","value":"\"input the value of the Length ( the longest dimension) :\""},{"@type":"Input","name":"length","id":"id_76060deb_753c_44f0_8837_5d3082cf2863","prompt":null},{"newline":true,"@type":"Output","id":"id_14489997_543a_4f1d_a4eb_469392257ffc","value":"\"input the value of the Width : ( the shorter one ) :\""},{"@type":"Input","name":"width","id":"id_eabc15e7_33db_4133_a3e0_956a5c93fd37","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"area","lengthValue2":"5","id":"id_4d4e6a56_e332_47f2_950b_ed8819956a44","initValue":"length*width"},{"newline":true,"@type":"Output","id":"id_92cea1b8_cdbb_4df8_b231_47cefcae9e9d","value":"\"area = \"+area"},{"@type":"Return","id":"id_797e9163_df9a_4f9d_8c2d_8819f9c56d7b","maybeValue":null}],"parameters":[]},"id":"id_ce7e5057_4a64_494d_b651_2ce1a4a3d1cf","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":316}