by @KASHF MUSHTAQ Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_ede8d56a_0d79_438d_984d_cad4a1e42875"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"originalprice","lengthValue2":"5","id":"id_d112fe97_6367_4cf5_a467_49841d04ca5c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"discountpercent","lengthValue2":"5","id":"id_75c540e4_1671_437a_8d98_e390d9d0e52b","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"totalprice","lengthValue2":"5","id":"id_13d00593_5ca8_4bbd_9e55_2b8bff7d8c26","initValue":null},{"@type":"Input","name":"originalprice","id":"id_5e7a0232_f275_4606_9b20_ca8762503780","prompt":"Please enter the value of originalprice:"},{"@type":"Input","name":"discountpercent","id":"id_2f62323d_9de9_4f5f_a02c_8964019f12c2","prompt":"Please enter the value of discountpercent:"},{"@type":"Assign","name":"totalprice","id":"id_4fe5f10a_91bb_4ca8_884e_b215b755b582","value":"(originalprice*discountpercent)/100"},{"newline":true,"@type":"Output","id":"id_386d05ec_97fa_4472_9163_5c1ab06a665c","value":"\"totalprice=\"+totalpri"},{"@type":"Return","id":"id_aee36f35_0b43_4f88_94b3_613196c8734c","maybeValue":null}],"parameters":[]},"id":"id_24ea8424_935a_4dc3_9c20_4a3398f37830","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":true},"version":"0.3","revision":405}