by @WANIA BILAL Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c42b2d5b_a31b_46aa_be3d_d483a3102905"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"price","lengthValue2":"5","id":"id_eddc4887_ba63_41d5_9dd5_56041ebe0029","initValue":null},{"@type":"Input","name":"price","id":"id_b9dabf7f_f14e_48c3_806a_5cce5a123fa9","prompt":"Please enter x:"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"discount","lengthValue2":"5","id":"id_a7840425_efc3_4545_9dec_a5bd8ce45c1c","initValue":null},{"@type":"Input","name":"discount","id":"id_73f6bbd9_2448_4b76_9743_3bc034b23090","prompt":"Please enter x:"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"per","lengthValue2":"5","id":"id_477245c3_c8fb_495b_939b_a98db2aa73d7","initValue":null},{"@type":"Input","name":"per","id":"id_daf2bdec_2767_495b_8abd_1140a11f330e","prompt":"Please enter x:"},{"newline":true,"@type":"Output","id":"id_033af2cb_9bfd_454c_8717_ba9447e061c2","value":"\"discount=price+discount+per/100\""},{"newline":true,"@type":"Output","id":"id_ed20968e_aaab_4a7e_9ce2_8bfdfbe816c7","value":"\"discount\""},{"newline":true,"@type":"Output","id":"id_3d440502_7723_46fd_9063_eaa5639e7514","value":"\"final price=price-discount\""},{"newline":true,"@type":"Output","id":"id_538a4b38_3f54_4e06_b34e_c5d0d7ba0e1a","value":"\"final price\""},{"@type":"Return","id":"id_f8328ed2_c669_4612_ad9f_2551a7b8a63c","maybeValue":null}],"parameters":[]},"id":"id_35788404_60ec_46dd_a99a_9b63703d87ff","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":false,"lang":"c++","showGenCode":true},"version":"0.3","revision":163}