by @JACOPO DI GIOVANNI Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c8ab9273_814d_40ba_abc8_40a12f5a1593"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"menu","lengthValue2":"5","id":"id_47e38bd5_0c04_4259_94b1_f6067a100157","initValue":null},{"newline":true,"@type":"Output","id":"id_10d3cf13_08b9_4a61_ba23_16943b175730","value":"\"Quale menu vorrebbe tra: standard, vegetariano e bambino\""},{"@type":"Input","name":"menu","id":"id_aaac5d52_2efc_4853_9a0a_90d6516d8db0","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"price","lengthValue2":"5","id":"id_9f32503b_a622_460a_8efd_734f6bed98df","initValue":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_dee41046_63cd_4cfd_b133_0468adf6ad3b","value":"\"scusi ma non è un menu.\""}],"id":"id_3da14443_2681_4090_90f3_62348bb76300"},"trueBlock":{"statements":[{"@type":"Assign","name":"price","id":"id_6d9c3392_b312_48d2_8a1d_bcbe95bcc494","value":"8"},{"newline":true,"@type":"Output","id":"id_196d3814_7617_442f_a066_1eff54765c3f","value":"\"Il prezzo è: \""},{"newline":true,"@type":"Output","id":"id_e8ab1da8_a3d5_44e7_b187_902a93c2a234","value":"price"}],"id":"id_61196d1b_0528_4b2e_8dc3_fa83aa1bf2dc"},"condition":"menu == \"bambino\"","@type":"If","id":"id_8d5cce7a_8057_4e3e_9361_ce9d5ffcc496"}],"id":"id_4713776e_8522_4f28_961b_22c4553e8c2e"},"trueBlock":{"statements":[{"@type":"Assign","name":"price","id":"id_550926de_8ced_4b89_9122_e50a2fa21756","value":"10"},{"newline":true,"@type":"Output","id":"id_f21045a5_89a7_40a8_a788_3aee2f88476c","value":"\"Il prezzo è: \""},{"newline":true,"@type":"Output","id":"id_d456d9a8_513a_46f0_8a33_f0007727255f","value":"price"}],"id":"id_7151ac36_bb68_4b36_bc86_49657e29018d"},"condition":"menu == \"vegetariano\"","@type":"If","id":"id_7ea28d2f_34a8_4e85_98d9_55de8e523361"}],"id":"id_aacf48a2_58ce_45bc_a277_5c096cef9e16"},"trueBlock":{"statements":[{"@type":"Assign","name":"price","id":"id_5b1024d3_6ce8_4b9f_b00b_82a92fb2f911","value":"12"},{"newline":true,"@type":"Output","id":"id_c8ed34a6_efd4_496a_a91f_6035f97c84d8","value":"\"Il prezzo è: \""},{"newline":true,"@type":"Output","id":"id_5e5314b3_1ca3_456f_bfb3_25049e80bb83","value":"price"}],"id":"id_3066fbb1_ee59_4f46_87e6_f1cd1dbb2707"},"condition":"menu == \"standard\"","@type":"If","id":"id_a351031f_5409_400e_9ef4_1de97c053a39"},{"@type":"Return","id":"id_615e3e87_d05f_4bc2_ab95_162ee65f06e9","maybeValue":null}],"parameters":[]},"id":"id_e81107d2_0e54_45d3_93bd_a661dfb8b0d4","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":332}