by @Giada falcone Fork
Export As:


Share:

{"id":"id_0c8c1b49_9357_4457_b1d8_c79c015af521","name":"Esercizio n 34 pag 142","config":{"lang":"java","showFunctions":true,"showGenCode":true},"main":{"rawId":"main","name":"main","parameters":[],"tpe":"Void","statements":[{"id":"id_d5ba57dd_f0f9_44e2_8aea_4f51c5bd1e09","@type":"Begin"},{"id":"id_8dc518d2_f68d_44cd_a8fa_6ee0a7b284c2","name":"numeroAdulti","prompt":"Adulti","@type":"Input"},{"id":"id_efd572a0_3d06_4f3a_8c30_e3acb0aef26e","name":"numeroBambini","prompt":null,"@type":"Input"},{"id":"id_ebfe8c87_9553_49c9_99cc_459130f6e7dd","name":"CostoTotale","tpe":"Integer","initValue":"0","@type":"Declare"},{"id":"id_9c9bd3aa_b991_43a4_b72b_4f7394d9c55a","value":"costoTotale(numeroBambinix4)+(numeroAdultix7)","newline":true,"@type":"Output"},{"id":"id_019466a4_d790_4d76_b0e5_c0a989e6cb75","maybeValue":null,"@type":"Return"}]},"functions":[{"rawId":"id_9e4d4c1c_4546_416e_af60_4bf75c0e15a9","name":"fun1","parameters":[],"tpe":"Void","statements":[{"id":"id_791f16f0_9574_4f92_a809_44cd8b585256","@type":"Begin"},{"id":"id_c3c346ea_794a_4724_9484_1866301cf1aa","maybeValue":null,"@type":"Return"}]}],"version":"0.1"}