by @sumaya rezak Fork
{"functions":[],"name":"flowchart","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_58c0a87f_071d_4141_9730_3fee9a64f93d"},{"newline":true,"@type":"Output","id":"id_3b330d4d_74a5_4d5c_8c23_fb156ae8206d","value":"\"Welcome to Pennine Pizza Works! Let's take your order. Please enter the customer details below.\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"customer_name","lengthValue2":"5","id":"id_11f77af3_abe1_4216_afa2_ea86d420d2e3","initValue":null},{"@type":"Input","name":"customer_name","id":"id_ffdc13f0_397e_4db0_b562_0043544a130b","prompt":"Enter customer name: "},{"condition":"true","@type":"While","id":"id_41f61be5_8e2a_405d_a253_a38322c0eada","body":{"statements":[{"newline":true,"@type":"Output","id":"id_168b2508_64e9_4da3_a345_8a432ff28fbe","value":"\"Thank you! Please enter the pizza you would like to order.\""},{"@type":"Input","name":"pizza_choice","id":"id_63583e93_875e_4072_b00b_0eeccc3a5ae4","prompt":"Enter your pizza choice:"},{"newline":true,"@type":"Output","id":"id_982d7907_18fc_4dcb_a4f2_deb2cf14725f","value":"\"What size pizza would you like? Please enter Small, Medium or Large.\""}],"id":"id_f3f43a90_89e5_4079_8c7b_146a5b34d096"}},{"newline":true,"@type":"Output","id":"id_e6f3c35e_a97c_4e2f_963a_97aabd314b7c","value":"\"ERROR: Please enter a proper name (letters only, no numbers).\""},{"@type":"Input","name":"customer_name","id":"id_7e134720_6d5a_4f69_af1a_07f672d51b68","prompt":"Enter customer name:"},{"@type":"Return","id":"id_e775b837_15e4_4875_ba4e_254038970c7b","maybeValue":null}],"parameters":[]},"id":"id_9f9d87da_2289_4956_aece_8d6ac21a8153","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1009}