by @Freddie Element Fork
{"functions":[],"name":"bill calculator","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_fd31ad49_afd9_4e20_89d4_1aaaceffdc2d"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"item","lengthValue2":"5","id":"id_f7d7d84b_f1ff_416b_b41b_ee41f135c5df","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"total","lengthValue2":"5","id":"id_8448b5f1_a56a_4cbc_b9ac_19c384e29b5c","initValue":"0"},{"newline":true,"@type":"Output","id":"id_72ba1d28_1502_4164_8edc_d7fef50b8ac7","value":"\"please keep entering the prices and enter 0 when you are finished\""},{"@type":"Input","name":"item","id":"id_f5bbe0f3_6293_42ff_a4a4_3b7bd87d56e6","prompt":null},{"condition":"item!=0","@type":"While","id":"id_50f307d2_6ae7_4106_afa5_7deaab91c196","body":{"statements":[{"@type":"Assign","name":"total","id":"id_003da7d3_bd59_4d1c_83cd_5ace94e830a9","value":"total+item"},{"@type":"Input","name":"item","id":"id_ec7aacc8_878e_45f0_a577_0fdcfd1e08b8","prompt":null}],"id":"id_f6044573_5663_4e1e_97b2_1a0c79e97daf"}},{"newline":true,"@type":"Output","id":"id_a5bba42c_3001_44a5_9ca9_645364d4711d","value":"\"your toal bill is \"+(total)"},{"@type":"Return","id":"id_53c93b46_dc15_48ed_89fe_dc0c890726af","maybeValue":null}],"parameters":[]},"id":"id_5cb4366d_b973_46ba_9752_895480f1e3c2","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":240}