by @sumaya rezak Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_016beb61_c0ba_4869_9753_f9c20598595c"},{"newline":true,"@type":"Output","id":"id_e4f3a016_a7e3_46dd_b29b_2a159d4d031e","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":"customerName","lengthValue2":"5","id":"id_8c7fa8d2_57b2_41a5_b2dd_f314861b70ea","initValue":null},{"@type":"Input","name":"customerName","id":"id_7abab522_74cd_4b97_a706_80ed72a62764","prompt":"Enter customer name:"},{"condition":"customerName != \"\"","@type":"While","id":"id_7fe7dc8c_b6af_46f3_b8e3_3a6e82559984","body":{"statements":[{"newline":true,"@type":"Output","id":"id_b1f84192_816f_4133_8f46_69ba9cc7e8da","value":"\"Thank you! Please enter the pizza you would like to order.\""}],"id":"id_efa094f2_16f1_4385_9def_ccfa0b841152"}},{"newline":true,"@type":"Output","id":"id_aaf1869e_a591_44b1_bff3_c5e04286e964","value":"\"ERROR: Please enter a proper name using letters only.\""},{"@type":"Return","id":"id_2ec3578b_b209_48c4_8f74_c7b8de4dc76f","maybeValue":null}],"parameters":[]},"id":"id_7607ec1c_c0e9_4116_a7e8_2fb772186563","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":384}