{"functions":[],"name":"Task 3 Q5","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_ec97a4bc_9f2e_49ba_8234_bce733c7bf50"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Bill","lengthValue2":"5","id":"id_d9e0e188_ad6a_4e13_a437_7f5571092688","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Food","lengthValue2":"5","id":"id_2396c5bc_470a_4a75_a56f_3883adad67f2","initValue":"0"},{"newline":true,"@type":"Output","id":"id_cd7c2221_11f2_4e03_97dd_8564db6c8b68","value":"\"Hello and welcome to Restaurant RGS. Please input the price of any item that you order\""},{"newline":true,"@type":"Output","id":"id_8b69c240_91e4_4528_9739_1f28555471c5","value":"\"If you want to get the bill, just enter 0\""},{"newline":true,"@type":"Output","id":"id_fb8d573f_3d57_485a_b119_38a1f237ab70","value":"\"Please enter the price of your first item\""},{"@type":"Input","name":"Food","id":"id_06603ca4_4a1d_4e7d_bd4a_2d172f086fc3","prompt":null},{"@type":"Assign","name":"Bill","id":"id_92ba062b_0a88_4a5d_a3e2_fcce7240cd38","value":"Bill+Food"},{"condition":"Food != 0","@type":"While","id":"id_ff0c35c2_08fb_4311_b9d4_9df3cd089c66","body":{"statements":[{"newline":true,"@type":"Output","id":"id_c986dcdd_1e5a_4c11_9bf6_4c845503da6f","value":"\"Enter the price of your next food item\""},{"@type":"Input","name":"Food","id":"id_0a6575b1_5922_45ca_867b_713ff5c5386a","prompt":null},{"@type":"Assign","name":"Bill","id":"id_83aab88e_dfd4_4edb_b3bd_df36f734895e","value":"Bill + Food"}],"id":"id_989934d1_ec01_4c05_875b_621bd678f71f"}},{"newline":true,"@type":"Output","id":"id_5af749e9_ca28_4bce_b32f_a409fb243938","value":"\"Your bill is £\" +Bill"},{"@type":"Return","id":"id_31e02375_1bae_4e04_8de1_e5c208183b59","maybeValue":null}],"parameters":[]},"id":"id_242a41cb_561a_423e_bb13_80bd0e840a11","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":433}