Settings

            
{"id":"id_7c22842a_8d27_4aaf_86d3_603ab063909c","name":"New Program","config":{"lang":"java","showFunctions":true,"showGenCode":true},"main":{"rawId":"main","name":"main","parameters":[],"tpe":"Void","statements":[{"id":"id_024742e0_6927_452d_8eb6_6d389b2ffd38","@type":"Begin"},{"id":"id_8e912211_52fc_4b79_9a31_7d17f79c6dcf","name":"eta","tpe":"Integer","initValue":null,"@type":"Declare"},{"id":"id_6c6fcba3_7bb4_477a_bb82_52f603a26640","name":"eta","prompt":"\"inserisci eta\"","@type":"Input"},{"id":"id_bb2b88d6_eb7c_4210_9c98_5b36d305393a","name":"maggiorenne","tpe":"Boolean","initValue":null,"@type":"Declare"},{"id":"id_f0945446_738b_4806_91f0_ec47721094cf","name":"maggiorenne","value":"controllaMaggiorenne(eta)","@type":"Assign"},{"id":"id_6c147cd6_5b7b_4f46_9878_d58c5bdd1892","condition":"maggiorenne == true","trueBlock":{"id":"id_1620781c_671d_4368_8e21_9262dd5ca649","statements":[{"id":"id_6fdb2092_1e41_4168_b7d4_3be048b9ac9f","value":"\"sei maggiorenne\"","newline":true,"@type":"Output"}]},"falseBlock":{"id":"id_1ae6f6fc_c52c_478b_b268_2960c60e89e0","statements":[{"id":"id_1231a18d_6453_48ff_86e3_54173e092faa","value":"\"sei minorenne\"","newline":true,"@type":"Output"}]},"@type":"If"},{"id":"id_47c3360a_909b_434c_8a98_e2450abf330f","maybeValue":null,"@type":"Return"}]},"functions":[{"rawId":"id_76838cd9_d8f4_4019_9628_80bd5cdf3515","name":"controllaMaggiorenne","parameters":[{"id":"91d26513-2993-4e1d-a9d9-4d8367b12fa4","name":"eta","tpe":"Integer"}],"tpe":"Boolean","statements":[{"id":"id_a063a663_eada_492c_96fb_adec23b0ad09","@type":"Begin"},{"id":"id_28168ca0_6e60_4063_9e5f_0e24f090a3a8","name":"maggiorenne","tpe":"Boolean","initValue":null,"@type":"Declare"},{"id":"id_911bd90c_9c39_4e1c_9f6b_8b660327853f","condition":"eta>=18","trueBlock":{"id":"id_d84d16ec_a9c7_401f_8393_33032c32e68f","statements":[{"id":"id_1d66c641_99cc_42e7_941e_0f2d8c35aa3b","name":"maggiorenne","value":"true","@type":"Assign"}]},"falseBlock":{"id":"id_8ed16d56_9640_4714_8eff_9830e621fbd5","statements":[{"id":"id_43a6b1ac_032a_4f0c_ac8e_315b7c6d25dd","name":"maggiorenne","value":"false","@type":"Assign"}]},"@type":"If"},{"id":"id_a52981cc_9497_45f8_8afc_d9d0fc65c4e9","maybeValue":"maggiorenne","@type":"Return"}]}],"version":"0.1"}
CodeExploreLearnLog In