{"functions":[],"name":"Bill calculator","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_b87245f0_87ea_4bf9_90c1_c3833ed71f30"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"num2","lengthValue2":"5","id":"id_fff3120f_1c2d_4902_b7fb_9e3ffe81de57","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"zero","lengthValue2":"5","id":"id_89c1a9ed_70d4_40b3_b9ce_c9eda4a36209","initValue":"1"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"bill","lengthValue2":"5","id":"id_dd92ae4c_c41f_468a_870c_28d0b6f0088d","initValue":"0"},{"newline":true,"@type":"Output","id":"id_48058ebf_0007_4307_85d9_b29c8eae3d0a","value":"\"Welcome to bill calulator, please enter your first price\""},{"@type":"Input","name":"bill","id":"id_6c5fcf64_c9a4_495c_85a0_d16266091388","prompt":null},{"condition":"zero!=0","@type":"While","id":"id_2788b755_9a3e_4091_8938_9b560408145b","body":{"statements":[{"newline":true,"@type":"Output","id":"id_a4ea42a9_3052_4257_9404_8042127438ac","value":"\"input another different price\""},{"@type":"Input","name":"num2","id":"id_dd25a003_fede_4286_8bae_e40bc27cda52","prompt":null},{"newline":true,"@type":"Output","id":"id_d414eaf4_78b4_4f3c_8733_c3a850de5d93","value":"\"please enter 0 if you want to stop and find out your bill total\""},{"@type":"Input","name":"zero","id":"id_d3d425e0_3eb6_453d_9061_ca5a21c71a87","prompt":null},{"@type":"Assign","name":"bill","id":"id_884795b7_af23_4554_ae35_ad943a8050aa","value":"num2+bill"},{"@type":"Assign","name":"num2","id":"id_f5fd2e0e_1572_431c_8da3_b1b904eeeaa8","value":"0"}],"id":"id_445f196a_ab86_4e49_b261_4044ae2aacf5"}},{"newline":true,"@type":"Output","id":"id_f3bfaa2e_0994_4f24_8eba_e074d7bbacd4","value":"\"The total for your bill is £\"+ bill"},{"@type":"Return","id":"id_6956411f_4bb6_4fd6_a616_5c4a0011aaef","maybeValue":null}],"parameters":[]},"id":"id_c3b30bda_81e6_450b_85c5_72ed31dda08f","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":726}