by @stud. El Mostafa Chikir Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c4bce0aa_117a_41c8_9566_704fc06a1b4c"},{"@type":"Declare","tpe":"Integer","name":"q","id":"id_11d449ef_07d8_41dc_a32c_2a26df1ef6a8","initValue":null},{"@type":"Declare","tpe":"Real","name":"p","id":"id_9428cc5a_bb63_43be_8c97_ef3153d18d29","initValue":null},{"@type":"Declare","tpe":"Real","name":"tot","id":"id_dcf92dec_b080_44ad_926f_643733242853","initValue":null},{"@type":"Declare","tpe":"Real","name":"psconto","id":"id_a25947d9_34d1_4b48_a33d_842d79df7bb1","initValue":null},{"newline":true,"@type":"Output","id":"id_3af941d4_164f_41a2_a76f_0d2645136525","value":"\"dammi q\""},{"@type":"Input","name":"q","id":"id_367a3b23_29f1_401a_90ab_64a13b3881ec","prompt":null},{"newline":true,"@type":"Output","id":"id_382390eb_aeeb_4fae_b9b9_f215a11b72a4","value":"\"dammi p\""},{"@type":"Input","name":"p","id":"id_e5ddf6d2_6ec4_41d9_b901_1f428977afb9","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"tot","id":"id_988abc15_1d23_4a5a_a163_4111d8376461","value":"q*p"},{"newline":true,"@type":"Output","id":"id_0a87f062_49f1_4b77_b893_937ccce634b6","value":"\"il tot e\""},{"newline":true,"@type":"Output","id":"id_ecf68d5d_fbc2_4dc8_93ba_b98888bdde1d","value":"tot"}],"id":"id_952bad80_2143_41bd_82cf_91b9b4b2b541"},"trueBlock":{"statements":[{"@type":"Assign","name":"psconto","id":"id_97aa2a7b_8728_41cd_b790_12ab35ebbaec","value":"p*q-((p*q)*5/100)"},{"newline":true,"@type":"Output","id":"id_bd7f04a0_9a83_4741_9088_46c70e23e865","value":"\"il psconto e\""},{"newline":true,"@type":"Output","id":"id_3c6e8822_6b4c_4dc2_ac91_e6b60ceb3dfb","value":"psconto"}],"id":"id_b90c5b63_ce53_4b5d_b19e_e0084d5050a1"},"condition":"q>5","@type":"If","id":"id_6ee12a19_3971_418c_a86d_46b565b412d7"},{"@type":"Return","id":"id_ce2d40fd_ba5e_4e53_91fd_cbadde2af726","maybeValue":null}],"parameters":[]},"id":"id_9b5b94ca_edeb_4121_b83b_275b2136dbde","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":176}