{"functions":[],"name":"bill cost","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_1ced08ee_cba7_4274_83bc_b13dbe3aed7e"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"bill","lengthValue2":"5","id":"id_ca6bea30_ac77_4c60_8bb8_964410555581","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"count","lengthValue2":"5","id":"id_3502f5d1_0e9e_4382_8c94_895f2085d3a3","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"cost","lengthValue2":"5","id":"id_dd5808bf_6a1e_4d71_b931_530a80faae62","initValue":null},{"newline":true,"@type":"Output","id":"id_78cb04d9_c654_4e4f_b492_8975b7a6473b","value":"\"i will calculate the cost of a bill\""},{"newline":true,"@type":"Output","id":"id_60a15c6b_0980_4499_91d5_72bc666b7114","value":"\"cost of the first item?\""},{"newline":true,"@type":"Output","id":"id_efc997fa_d274_4f72_9229_a63b1868f621","value":"\"if there are no items left enter 0\""},{"@type":"Input","name":"cost","id":"id_d5d98048_a1e5_4314_ad2d_d0a080838841","prompt":null},{"condition":"cost != 0","@type":"While","id":"id_b54e9b7b_6966_4117_b2da_1a731369dfa6","body":{"statements":[{"newline":true,"@type":"Output","id":"id_21d2c6f4_74d3_4c1c_b8c5_630c74f3a89d","value":"\"next item?\""},{"@type":"Assign","name":"bill","id":"id_4deb7570_37e0_4461_b527_f1411b03f0ca","value":"cost + bill"},{"@type":"Input","name":"cost","id":"id_cf91b0bf_c384_4d48_8691_c3c66c1236e3","prompt":null},{"@type":"Assign","name":"count","id":"id_e91738d2_feeb_43e4_8c3c_c78e71c60aac","value":"count+1"}],"id":"id_a8f51805_ff76_49e5_b961_5dcb9d0fd95a"}},{"newline":true,"@type":"Output","id":"id_c6fb0cf5_eac4_4b9e_bc6b_1c621a2445df","value":"\"the total cost is: \" + bill + \" you ordered \" + count + \" items\""},{"@type":"Return","id":"id_55ba62f3_c0d9_4147_8787_f050c729836a","maybeValue":null}],"parameters":[]},"id":"id_32fe9f3e_902a_4613_88e7_a0ccdd2a3086","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":403}