by @Zohaan Siyad Fork
{"functions":[],"name":"bill please","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c0ed3d05_d19d_4763_a605_de50a3a793a5"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"price","lengthValue2":"5","id":"id_f5ed8c99_03cd_4d07_a5b9_eb7f340f7665","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"bill","lengthValue2":"5","id":"id_62bd869d_0a88_4193_874c_5968333d1eb3","initValue":"0"},{"newline":true,"@type":"Output","id":"id_67ba80ee_190d_4cae_bb28_3882bd411142","value":"\"Please tell me the price of each food/drink\""},{"@type":"Input","name":"price","id":"id_cad4340b_066a_458d_8661_792b681ce974","prompt":null},{"condition":"price != 0","@type":"While","id":"id_d0a23578_d07f_4b60_8ae3_bba32988f3f9","body":{"statements":[{"@type":"Assign","name":"bill","id":"id_55514a26_b8c0_487f_bdc8_4b7fb227790f","value":"bill+price"},{"@type":"Input","name":"price","id":"id_8abfc00b_3057_4b81_920c_dfe8e6025fd9","prompt":null}],"id":"id_f272668f_5e99_4757_a3c1_bbf688326fec"}},{"newline":true,"@type":"Output","id":"id_61a0486c_5ed3_47bb_a550_ede6946ab5b0","value":"\"your total has come to £\"+bill"},{"@type":"Return","id":"id_6192af0f_9107_4724_8072_35edb8e24593","maybeValue":null}],"parameters":[]},"id":"id_72ae58a0_c23c_4fa6_96a7_eef567d56c88","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":721}