by @Ibrahim Mahboob Fork
{"functions":[],"name":"bill add up","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5f076da7_0206_42cf_b1de_44447acf0fb2"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"total","lengthValue2":"5","id":"id_22082af9_1796_4159_b593_af587a9c10da","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"money","lengthValue2":"5","id":"id_e8c6a09c_5321_4de7_afbf_e17f78c8ee6e","initValue":null},{"newline":true,"@type":"Output","id":"id_90c92b1f_e946_40fc_adb9_291771e19b88","value":"\"please list the cost of all the items you wish to add up when all of your items have been listed please press 0\""},{"@type":"Input","name":"money","id":"id_62b66aba_e2a6_43ab_8eb1_b1c6049914bb","prompt":null},{"condition":"money!=0","@type":"While","id":"id_b4cc7248_e43f_4b3b_a403_83010f62156d","body":{"statements":[{"@type":"Assign","name":"total","id":"id_6fde50e5_cc22_437d_aeb6_dfe340907863","value":"money + total"},{"@type":"Input","name":"money","id":"id_9f72006a_1379_49fd_ab4f_ee801c04e272","prompt":null},{"newline":true,"@type":"Output","id":"id_9824ce4c_2fed_4725_91df_59430e922bc3","value":"\"would you like to add anything?\""}],"id":"id_f9a13204_29e5_4b1b_aed1_68bf1a3736c6"}},{"newline":true,"@type":"Output","id":"id_8ded1071_8680_465c_a1e6_b3ee36b47674","value":"\"your bill is \" + \"£\" + total"},{"@type":"Return","id":"id_a22e29df_b7f8_4733_b1b0_9754abf101be","maybeValue":null}],"parameters":[]},"id":"id_82147647_265d_411a_9068_9f8cb6eaf796","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":307}