by @Alfie Dickinson Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5979d10e_5a22_4c9c_8a5a_8e154b442ad9"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"totalBill","lengthValue2":"5","id":"id_1ea3a773_2b8b_4406_9e2a_f184d6d11f23","initValue":"0.00"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"itemprice","lengthValue2":"5","id":"id_84cf8fd8_b38f_4432_a6c8_ad0f243b7336","initValue":null},{"newline":true,"@type":"Output","id":"id_f974968c_9045_4df8_857f_fc3b74bf8776","value":"\"Price of order?\""},{"@type":"Input","name":"itemprice","id":"id_0ae9b213_9bbd_4327_933f_c2a8b9d59a6a","prompt":null},{"condition":"itemprice != 0","@type":"While","id":"id_945fb139_4f75_4e15_adff_e5ebbfb45111","body":{"statements":[{"newline":true,"@type":"Output","id":"id_e6ed5661_b539_4c88_b9ef_dac85b96e9ee","value":"\"pay the amount so put in0 from \" + (totalBill - itemprice)"},{"@type":"Input","name":"itemprice","id":"id_b0f189c0_66e7_43f7_a546_9d666afb2f82","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c2c669e5_9c27_453a_a1d1_b4b89fb6b60c","value":"\"wrong amount\""}],"id":"id_2bd7aed0_c3ac_42eb_a617_03a60cc17fe1"},"trueBlock":{"statements":[],"id":"id_0647007d_265c_4d87_8652_0af8dfebe18e"},"condition":"itemprice == 0","@type":"If","id":"id_5e502911_0622_4a4a_b3b0_5e2b0c439ef5"}],"id":"id_19a04e75_1b75_40dd_82fc_9028b89bacff"}},{"newline":true,"@type":"Output","id":"id_4bcc439d_8cb1_4bdf_ac12_53a450ce5a26","value":"\"yay you payed the bill\""},{"@type":"Return","id":"id_09b4f8dc_8d74_49c2_a84f_dc34f9fb393e","maybeValue":null}],"parameters":[]},"id":"id_16e5a5ed_08ba_42fd_83e6_16b9a1b9c2ca","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":399}