{"functions":[],"name":"restaurant bill","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_21caf428_6b61_4556_8675_bb4694dcc8fb"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"bill","lengthValue2":"5","id":"id_0201ba02_f071_43e8_b52c_b87e4cc91096","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"item","lengthValue2":"5","id":"id_cbdd4ec1_cc84_4779_b867_3ea936de9b7c","initValue":null},{"newline":true,"@type":"Output","id":"id_a4e89ffe_c12d_4220_8e10_1769b59be92c","value":"\"Enter the price of your first item without the pound symbol and when you enter 0 your total bill will be calculated\""},{"@type":"Input","name":"item","id":"id_b4e81e21_cc9e_4503_a9d6_3b16e4a6dcc5","prompt":null},{"condition":"item != 0","@type":"While","id":"id_bf86300a_b3ae_462c_8e49_e8bb10a17a21","body":{"statements":[{"@type":"Assign","name":"bill","id":"id_e2003323_9f00_4822_9277_ac3a753b22ce","value":"bill + item"},{"newline":true,"@type":"Output","id":"id_491b3313_57e8_445f_946a_4ee537d44947","value":"\"Enter the price of another item or if not, enter 0 to calculate your total bill\""},{"@type":"Input","name":"item","id":"id_42e2b54f_9a9a_495e_8e78_dc823a1640a4","prompt":null}],"id":"id_b551aafb_63f1_4d54_ba4c_4617933736df"}},{"newline":true,"@type":"Output","id":"id_ae48ef83_f9a3_4806_84d6_72756df6404d","value":"\"Your total bill you need to pay is £\"+ bill"},{"@type":"Return","id":"id_9153ebe7_5131_4366_87ac_0243b41afde8","maybeValue":null}],"parameters":[]},"id":"id_c0330dab_c343_4191_bfdf_54d4b8b4b393","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":535}