{"functions":[],"name":"calculating the bill","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_777a3d84_f0bf_48c7_8711_b8082c5ecfe3"},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_6f7d5b09_9a26_4071_ad69_a62aaef697b5","initValue":"1"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_afee1f40_08ce_4024_8248_3689684c1a51","initValue":null},{"@type":"Input","name":"x","id":"id_4010c2b0_9c97_4301_97d5_6ae1eef785b7","prompt":"enter an amount of one item"},{"newline":true,"@type":"Output","id":"id_d2a87ff4_6f8e_4a58_b348_85cd427a0b47","value":"\"enter 0 when finished\""},{"condition":"x>0","@type":"While","id":"id_79a0d159_ba10_405b_be9c_e86479b5486e","body":{"statements":[{"@type":"Assign","name":"y","id":"id_e5a21904_40fd_48a3_881a_a0cb35d3374b","value":"y+x"},{"@type":"Input","name":"x","id":"id_fd862241_c46c_4cba_8e62_3746b322c430","prompt":null}],"id":"id_8529ad1d_6e32_499d_ae41_1639a13f4f5c"}},{"newline":true,"@type":"Output","id":"id_3be4c55b_9632_4c69_8496_33e1206c44f7","value":"y-1"},{"newline":true,"@type":"Output","id":"id_12ba13fb_4896_41aa_8e57_a597e090f108","value":"\"thanks for paying the bill!\""},{"@type":"Return","id":"id_a78fbd44_0c50_45d1_a6b3_b07fdeb4e7c4","maybeValue":null}],"parameters":[]},"id":"id_64cbcba7_d1af_48db_bdff_c9c5a6ac0e73","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":323}