by @Leonard Tomaszewski-Mbianda Fork
{"functions":[],"name":"Question 5","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_af067ebc_ced0_4688_8f8c_d7de670ab49e"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_a796ad27_87c7_4b66_8c32_49ce7ab70574","initValue":null},{"@type":"Input","name":"x","id":"id_f8eeac1d_3966_4d51_b94d_b66cdbd20956","prompt":"If you are done then type in 0"},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_eb4012c8_9265_466a_85e0_bd5c7b3da13c","initValue":"0"},{"condition":"x!=0","@type":"While","id":"id_65374ef0_72ab_4e72_b18f_de3cf09f7588","body":{"statements":[{"@type":"Assign","name":"y","id":"id_11b75943_13c7_4a2f_ab71_d032751d06f2","value":"y+x"},{"newline":true,"@type":"Output","id":"id_b101bddb_a394_4064_acf4_a62a23f57058","value":"y"},{"@type":"Input","name":"x","id":"id_5227ef0e_33ea_46e0_a45c_34f9361bd7a6","prompt":null}],"id":"id_e53c2ac5_8bd7_4384_91cd_e63dec605590"}},{"newline":true,"@type":"Output","id":"id_ff659a8a_a66e_4eaa_af17_7497e67b9d4b","value":"\"Thank you for eating at 8Cs's restuarant\""},{"@type":"Return","id":"id_5a4c7b5b_446f_4fbd_894b_8e299b7fa306","maybeValue":null}],"parameters":[]},"id":"id_32cd9a35_c981_4c80_bc90_f6a22a65c699","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":297}