by @Shashwath Boopathy Fork
{"functions":[],"name":"billcaluculting","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_0d2f1dfd_9fa9_492f_a135_641f42a3b34c"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Bill","lengthValue2":"5","id":"id_eb0b84f6_f655_4ede_a84a_1e04d4867b54","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Priceofitem","lengthValue2":"5","id":"id_8aa0e79b_4e50_4df0_a418_3a3b51b77582","initValue":null},{"newline":true,"@type":"Output","id":"id_6ee15fcf_5476_428f_ae42_5de2fc165762","value":"\"please type the price and when you are finished type 0\""},{"newline":true,"@type":"Output","id":"id_56ddeff3_7bc7_43a9_9c54_2e6106731051","value":"\"What is the price of item?\""},{"@type":"Input","name":"Priceofitem","id":"id_e4538991_5fc3_429f_9770_b948ca87965d","prompt":null},{"condition":"Priceofitem != 0","@type":"While","id":"id_2db92584_7462_4f79_addf_94baf0b22efd","body":{"statements":[{"@type":"Assign","name":"Bill","id":"id_f5fac5fb_25cc_42c1_a4cb_073ec2a0bff7","value":"Bi"},{"newline":true,"@type":"Output","id":"id_1a0755f9_7773_49cb_99cc_ac292804b570","value":"\"What is the price of item?\""},{"@type":"Input","name":"Priceofitem","id":"id_3261c1db_0d22_4f84_b6bd_c5b7e068ec23","prompt":null}],"id":"id_9c6e4651_69d7_496b_9a7c_3aedf083d638"}},{"newline":true,"@type":"Output","id":"id_1645a4bc_7365_4b35_939d_33fea44dd99e","value":"\"You have finished, the total bill is £\" + Bill + \"!\""},{"@type":"Return","id":"id_5f075201_bd8c_43ea_ad7f_4d0235791ef1","maybeValue":null}],"parameters":[]},"id":"id_8be9564d_1842_4f1d_95c2_ab9e6785bd27","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":604}