by @MUHAMMAD MUBEEN TAHIR Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_ca4f9c5e_2c23_4ada_97ad_604e59f7bb51"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"price","lengthValue2":"5","id":"id_7e6cc3e4_f901_4fbf_b720_c1040a432825","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"discount","lengthValue2":"5","id":"id_126901f8_b1ee_4421_9a98_20d90c35a604","initValue":null},{"@type":"Input","name":"price","id":"id_42750720_4e8c_4044_86d0_40d1feda637a","prompt":"enter product price"},{"@type":"Input","name":"discount","id":"id_d3d96896_a16a_4aff_8be7_61fac6d5b382","prompt":"enter disount percentage"},{"newline":true,"@type":"Output","id":"id_4da3fd42_76db_4a0d_9654_e18e3445510f","value":"price*discount/100"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"priceafterdicount","lengthValue2":"5","id":"id_f6184d19_06e6_4f22_b81f_6a8495ee58d1","initValue":null},{"newline":true,"@type":"Output","id":"id_94cd0ac7_17ad_4c76_adbb_99b19a24c2d6","value":"\"pay after tax\""},{"@type":"Assign","name":"priceafterdicount","id":"id_674df0ce_22c2_4a0d_b2c8_3fe8891888a6","value":"price*discount/100"},{"newline":true,"@type":"Output","id":"id_c6ec58b2_f876_4236_bbef_c7721d2be738","value":"price-priceafterdicount"},{"@type":"Return","id":"id_b3ce49ec_32c5_497e_83db_3c0fab656df5","maybeValue":null}],"parameters":[]},"id":"id_13ec5fc4_003b_4092_8a5b_10229c6b154d","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":true},"version":"0.3","revision":285}