by @Abdullah Waqar Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_53b62bd8_57fa_4a69_8352_943856b897c6"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"salesamount","lengthValue2":"5","id":"id_c311bcd6_5817_4478_8d69_10b333d3fa8d","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"comissionrate","lengthValue2":"5","id":"id_8af65827_1630_4531_b53d_9b3389afe8f2","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"comissionearned","lengthValue2":"5","id":"id_2f00b9e0_bd6f_472a_bf48_2855a6db91c0","initValue":null},{"newline":true,"@type":"Output","id":"id_6c4ca15c_cced_49e0_9877_f3763686865a","value":"\"enter sales amount\""},{"@type":"Input","name":"salesamount","id":"id_1c0c20a6_4a44_44f4_a815_2a9292229a5c","prompt":null},{"newline":true,"@type":"Output","id":"id_9f243925_7ef0_4b1e_8223_2e1837c0ed4d","value":"\"enter comissionrate\""},{"@type":"Input","name":"comissionrate","id":"id_8ba9a10a_1602_4685_867e_764ff6639a02","prompt":null},{"@type":"Assign","name":"comissionearned","id":"id_caea8015_feeb_4c4d_b181_78d99cd72ac7","value":"salesamount * (comissionrate / 100)"},{"newline":true,"@type":"Output","id":"id_e048c9b7_f89f_4071_ab3d_c4e16fe55612","value":"comissionearned"},{"@type":"Return","id":"id_f89e78de_5fb3_41fa_bfb5_1914e212908a","maybeValue":null}],"parameters":[]},"id":"id_b13716e6_c20d_4529_a6a7_19d1cd28b7db","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":253}