by @Thomas Grove Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_4cc18c35_c68e_4f5b_b150_83af4f6bc1cf"},{"@type":"Declare","tpe":"Integer","name":"Bill","id":"id_2fc2a253_0f08_41b7_90b3_e486cb93f3d2","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_321c2746_9aee_4569_a6cb_e35f762a84d1","initValue":null},{"@type":"Input","name":"x","id":"id_abef48bb_c868_4107_b043_e251469b4502","prompt":"An items price"},{"condition":"x != 0","@type":"While","id":"id_a7167cb2_b1b3_40ce_8a9e_1e063d7ffd2d","body":{"statements":[{"@type":"Assign","name":"Bill","id":"id_a2af7057_9bbb_4250_8073_3c4628dcda46","value":"Bill+x"},{"@type":"Input","name":"x","id":"id_fc355052_0b37_4a80_8b31_0d0fc1fed370","prompt":"An items price"}],"id":"id_b8084954_be62_4a58_bc00_51039a61f829"}},{"newline":true,"@type":"Output","id":"id_eef90475_daa8_41dc_b32d_f752e04a5b78","value":"\"Your total bill is\""},{"newline":true,"@type":"Output","id":"id_98d62435_705b_42cc_8c42_a1fa10db0463","value":"Bill"},{"@type":"Return","id":"id_73022994_0465_42cc_a0c9_7040d7e28213","maybeValue":null}],"parameters":[]},"id":"id_864f6841_aafe_496d_9010_c4815ec3a3ed","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":107}