New Program
id_9a6dc4d5_49f4_4901_99f3_2ec2c7b613d6 Begin id_94eb04e2_6559_4249_a19c_540955a3f6ce x = 0 id_9a6dc4d5_49f4_4901_99f3_2ec2c7b613d6:s->id_94eb04e2_6559_4249_a19c_540955a3f6ce:n id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 i = 0 to 10 by 1 id_94eb04e2_6559_4249_a19c_540955a3f6ce:s->id_edb77ba3_612c_4bb0_bf7c_d36939a6b275:n true_dummy_up_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 id_edb77ba3_612c_4bb0_bf7c_d36939a6b275:e->true_dummy_up_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 true false_dummy_up_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 id_edb77ba3_612c_4bb0_bf7c_d36939a6b275:w->false_dummy_up_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 false id_e507b127_78a8_4ed3_ad2b_03e6cab3bd7c "output" true_dummy_up_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275->id_e507b127_78a8_4ed3_ad2b_03e6cab3bd7c:n false_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 false_dummy_up_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275->false_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 id_5622e58e_f2d7_4312_9ccb_47229f531b17 x id_e507b127_78a8_4ed3_ad2b_03e6cab3bd7c:s->id_5622e58e_f2d7_4312_9ccb_47229f531b17:n true_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 id_5622e58e_f2d7_4312_9ccb_47229f531b17:s->true_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275:n true_dummy_down_left_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 true_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275->true_dummy_down_left_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 true_dummy_down_left_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275->id_edb77ba3_612c_4bb0_bf7c_d36939a6b275:s end_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 false_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275->end_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 id_7da23b0f_fc4a_4d1e_a078_46981816e67c End end_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275->id_7da23b0f_fc4a_4d1e_a078_46981816e67c
Esercizio n 33 pagina 142
id_40a58751_410d_4750_8e5c_bda3e6d2a1dd Begin id_9237a221_1835_4b75_b638_2ff6a516fe9e prezzoHaverboard id_40a58751_410d_4750_8e5c_bda3e6d2a1dd:s->id_9237a221_1835_4b75_b638_2ff6a516fe9e:n id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c prezzoHaverboard>Uguale200euro id_9237a221_1835_4b75_b638_2ff6a516fe9e:s->id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c:n true_dummy_up_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c:e->true_dummy_up_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c true false_dummy_up_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c:w->false_dummy_up_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c false id_6671ef92_4dec_4410_9184_af013793a56a prezzoHaverboardx15/100 true_dummy_up_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c->id_6671ef92_4dec_4410_9184_af013793a56a:n id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f prezzoHaverboard<100 false_dummy_up_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c->id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f:n true_dummy_down_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c id_6671ef92_4dec_4410_9184_af013793a56a:s->true_dummy_down_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c:n true_dummy_up_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f:e->true_dummy_up_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f true false_dummy_up_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f:w->false_dummy_up_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f false id_b8ccb617_796a_41a5_b728_665ea111a97a prezzoHaverboardx5/100 true_dummy_up_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f->id_b8ccb617_796a_41a5_b728_665ea111a97a:n id_914caf3c_a7cf_41d3_b8ab_6f801eaae99d prezzoHaverboardx10/100 false_dummy_up_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f->id_914caf3c_a7cf_41d3_b8ab_6f801eaae99d:n true_dummy_down_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f id_b8ccb617_796a_41a5_b728_665ea111a97a:s->true_dummy_down_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f:n false_dummy_down_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f id_914caf3c_a7cf_41d3_b8ab_6f801eaae99d:s->false_dummy_down_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f:n end_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f true_dummy_down_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f->end_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f false_dummy_down_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f->end_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f false_dummy_down_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c end_id_fcba1cf1_4683_495d_975a_6acb8ab4bc8f:s->false_dummy_down_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c:n end_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c true_dummy_down_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c->end_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c false_dummy_down_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c->end_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c id_d8f6ce7c_2c63_49c2_8b90_0c08b0012769 End end_id_ddab9dbf_53b0_4a50_9822_6f23f0713f2c:s->id_d8f6ce7c_2c63_49c2_8b90_0c08b0012769:n
esercizio 7
id_1c4c24bd_c171_4c69_86b5_a08152d5aecc Begin id_06468c5b_d210_4203_9388_ea3e43e48d45 voto id_1c4c24bd_c171_4c69_86b5_a08152d5aecc:s->id_06468c5b_d210_4203_9388_ea3e43e48d45:n id_b9f1cb95_15f9_42bb_97b6_9a6ed1a68789 voto id_06468c5b_d210_4203_9388_ea3e43e48d45:s->id_b9f1cb95_15f9_42bb_97b6_9a6ed1a68789:n id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85 voto>=2 id_b9f1cb95_15f9_42bb_97b6_9a6ed1a68789:s->id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85:n true_dummy_up_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85 id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85:e->true_dummy_up_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85 true false_dummy_up_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85 id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85:w->false_dummy_up_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85 false id_b21a014e_404b_4156_8d0a_62b7f834f9e3 voto<=10 true_dummy_up_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85->id_b21a014e_404b_4156_8d0a_62b7f834f9e3:n id_abcffb67_73b1_4a2e_a302_6d009eb43b4f "errore" false_dummy_up_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85->id_abcffb67_73b1_4a2e_a302_6d009eb43b4f:n true_dummy_up_id_b21a014e_404b_4156_8d0a_62b7f834f9e3 id_b21a014e_404b_4156_8d0a_62b7f834f9e3:e->true_dummy_up_id_b21a014e_404b_4156_8d0a_62b7f834f9e3 true false_dummy_up_id_b21a014e_404b_4156_8d0a_62b7f834f9e3 id_b21a014e_404b_4156_8d0a_62b7f834f9e3:w->false_dummy_up_id_b21a014e_404b_4156_8d0a_62b7f834f9e3 false id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5 voto>=6 true_dummy_up_id_b21a014e_404b_4156_8d0a_62b7f834f9e3->id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5:n id_f503f4f3_9061_4786_8861_18cd59a96ac8 "errore" false_dummy_up_id_b21a014e_404b_4156_8d0a_62b7f834f9e3->id_f503f4f3_9061_4786_8861_18cd59a96ac8:n true_dummy_up_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5 id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5:e->true_dummy_up_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5 true false_dummy_up_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5 id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5:w->false_dummy_up_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5 false id_b1fd65a5_f43e_4f07_b0b3_df864f531fe1 "Bravo" true_dummy_up_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5->id_b1fd65a5_f43e_4f07_b0b3_df864f531fe1:n id_d042ffdb_cd45_438c_a821_38ab69fb8637 "meno bravo" false_dummy_up_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5->id_d042ffdb_cd45_438c_a821_38ab69fb8637:n true_dummy_down_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5 id_b1fd65a5_f43e_4f07_b0b3_df864f531fe1:s->true_dummy_down_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5:n false_dummy_down_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5 id_d042ffdb_cd45_438c_a821_38ab69fb8637:s->false_dummy_down_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5:n end_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5 true_dummy_down_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5->end_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5 false_dummy_down_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5->end_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5 true_dummy_down_id_b21a014e_404b_4156_8d0a_62b7f834f9e3 end_id_8d9ebb38_0d1b_4649_93c4_cf9da6a793a5:s->true_dummy_down_id_b21a014e_404b_4156_8d0a_62b7f834f9e3:n false_dummy_down_id_b21a014e_404b_4156_8d0a_62b7f834f9e3 id_f503f4f3_9061_4786_8861_18cd59a96ac8:s->false_dummy_down_id_b21a014e_404b_4156_8d0a_62b7f834f9e3:n end_id_b21a014e_404b_4156_8d0a_62b7f834f9e3 true_dummy_down_id_b21a014e_404b_4156_8d0a_62b7f834f9e3->end_id_b21a014e_404b_4156_8d0a_62b7f834f9e3 false_dummy_down_id_b21a014e_404b_4156_8d0a_62b7f834f9e3->end_id_b21a014e_404b_4156_8d0a_62b7f834f9e3 true_dummy_down_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85 end_id_b21a014e_404b_4156_8d0a_62b7f834f9e3:s->true_dummy_down_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85:n false_dummy_down_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85 id_abcffb67_73b1_4a2e_a302_6d009eb43b4f:s->false_dummy_down_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85:n end_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85 true_dummy_down_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85->end_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85 false_dummy_down_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85->end_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85 id_1b606bbf_1d2c_48b5_a2fa_72e08376d2ac End end_id_61a4f5c0_13fa_4cf2_a830_f9bd53b41d85:s->id_1b606bbf_1d2c_48b5_a2fa_72e08376d2ac:n
New Program
id_7c22bb18_f862_491b_a9fb_301238b2fc4d Begin id_d73c78c3_d965_4193_929e_f0f164a8b6cb numero1 id_7c22bb18_f862_491b_a9fb_301238b2fc4d:s->id_d73c78c3_d965_4193_929e_f0f164a8b6cb:n id_5b62e56f_9fb1_43e9_b3e5_97454c77a499 numero2 id_d73c78c3_d965_4193_929e_f0f164a8b6cb:s->id_5b62e56f_9fb1_43e9_b3e5_97454c77a499:n id_33993cde_499f_49ac_8e69_e90e08bed5ca adicao id_5b62e56f_9fb1_43e9_b3e5_97454c77a499:s->id_33993cde_499f_49ac_8e69_e90e08bed5ca:n id_e53106ae_7d4a_4c4a_ae96_2b98bf358ed8 subtracao id_33993cde_499f_49ac_8e69_e90e08bed5ca:s->id_e53106ae_7d4a_4c4a_ae96_2b98bf358ed8:n id_0bb3c41a_4c91_4d50_aae4_38f162ae7a11 multiplicacao id_e53106ae_7d4a_4c4a_ae96_2b98bf358ed8:s->id_0bb3c41a_4c91_4d50_aae4_38f162ae7a11:n id_309e622c_a838_4014_bdf9_4c4bf4cff823 divisao id_0bb3c41a_4c91_4d50_aae4_38f162ae7a11:s->id_309e622c_a838_4014_bdf9_4c4bf4cff823:n id_8401cd69_5e43_491a_a37f_c43798c84084 resto id_309e622c_a838_4014_bdf9_4c4bf4cff823:s->id_8401cd69_5e43_491a_a37f_c43798c84084:n id_d62d2487_4091_419f_9562_281cc70f0cfc numero1 id_8401cd69_5e43_491a_a37f_c43798c84084:s->id_d62d2487_4091_419f_9562_281cc70f0cfc:n id_0b791cec_53d4_4548_9bb9_28ed48c891f0 numero2 id_d62d2487_4091_419f_9562_281cc70f0cfc:s->id_0b791cec_53d4_4548_9bb9_28ed48c891f0:n id_9179005d_0934_40dc_8b8f_bf0ee04a99db adicao = numero1 + numero2 id_0b791cec_53d4_4548_9bb9_28ed48c891f0:s->id_9179005d_0934_40dc_8b8f_bf0ee04a99db:n id_b891121f_4af0_4b30_ae7f_89651c128974 subtracao = numero1 - numero2 id_9179005d_0934_40dc_8b8f_bf0ee04a99db:s->id_b891121f_4af0_4b30_ae7f_89651c128974:n id_232b86fe_96d1_4a5e_8b84_00d713e3167b multiplicacao = numero1*numero2 id_b891121f_4af0_4b30_ae7f_89651c128974:s->id_232b86fe_96d1_4a5e_8b84_00d713e3167b:n id_269a83d4_a897_44bb_9edb_b76e194cdbe6 divisao = numero1 /numero2 id_232b86fe_96d1_4a5e_8b84_00d713e3167b:s->id_269a83d4_a897_44bb_9edb_b76e194cdbe6:n id_e08e624e_7a96_4288_9bfd_4bf748ab165f resto = numero1 % numero2 id_269a83d4_a897_44bb_9edb_b76e194cdbe6:s->id_e08e624e_7a96_4288_9bfd_4bf748ab165f:n id_c2deb087_d3fe_4b47_95e6_990029f3cbca adicao id_e08e624e_7a96_4288_9bfd_4bf748ab165f:s->id_c2deb087_d3fe_4b47_95e6_990029f3cbca:n id_84e5db7d_c7c8_4e97_8735_d2df8baa0c9e subtracao id_c2deb087_d3fe_4b47_95e6_990029f3cbca:s->id_84e5db7d_c7c8_4e97_8735_d2df8baa0c9e:n id_9ac75930_b9f4_486b_bd37_9cacd3966d63 multiplicacao id_84e5db7d_c7c8_4e97_8735_d2df8baa0c9e:s->id_9ac75930_b9f4_486b_bd37_9cacd3966d63:n id_f2e15c33_fb3d_41f0_b833_8e2b10d181c1 divisao id_9ac75930_b9f4_486b_bd37_9cacd3966d63:s->id_f2e15c33_fb3d_41f0_b833_8e2b10d181c1:n id_ce3cadb3_807d_4e80_90ad_6912296a1bd9 resto id_f2e15c33_fb3d_41f0_b833_8e2b10d181c1:s->id_ce3cadb3_807d_4e80_90ad_6912296a1bd9:n id_285afa79_5660_4742_9e9c_97d42fc24c13 End id_ce3cadb3_807d_4e80_90ad_6912296a1bd9:s->id_285afa79_5660_4742_9e9c_97d42fc24c13:n
Palindrome
id_cf913089_dd5c_4755_92b3_890608d4146b isPalindrome(s) id_453d0e31_7b41_4984_9c24_2bee908e89a8 res = true id_cf913089_dd5c_4755_92b3_890608d4146b:s->id_453d0e31_7b41_4984_9c24_2bee908e89a8:n id_2082e129_f30c_41f0_90e4_9c1218656ffe mirrorIdx id_453d0e31_7b41_4984_9c24_2bee908e89a8:s->id_2082e129_f30c_41f0_90e4_9c1218656ffe:n id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 i = 0 to length(s)-1 by 1 id_2082e129_f30c_41f0_90e4_9c1218656ffe:s->id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1:n true_dummy_up_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1:e->true_dummy_up_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 true false_dummy_up_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1:w->false_dummy_up_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 false id_c2da7b74_d4fc_414f_b50d_ea1cf773d662 mirrorIdx = length(s)-i-1 true_dummy_up_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1->id_c2da7b74_d4fc_414f_b50d_ea1cf773d662:n false_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 false_dummy_up_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1->false_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 charAt(s, i) != charAt(s, mirrorIdx) id_c2da7b74_d4fc_414f_b50d_ea1cf773d662:s->id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45:n true_dummy_up_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45:e->true_dummy_up_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 true false_dummy_up_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45:w->false_dummy_up_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 false id_fd8c710d_bd61_45f3_ac1d_5b4355d17e6a res = false true_dummy_up_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45->id_fd8c710d_bd61_45f3_ac1d_5b4355d17e6a:n false_dummy_down_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 false_dummy_up_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45->false_dummy_down_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45:n true_dummy_down_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 id_fd8c710d_bd61_45f3_ac1d_5b4355d17e6a:s->true_dummy_down_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45:n end_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 true_dummy_down_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45->end_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 false_dummy_down_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45->end_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 true_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 end_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45:s->true_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1:n true_dummy_down_left_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 true_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1->true_dummy_down_left_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 true_dummy_down_left_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1->id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1:s end_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 false_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1->end_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 id_aad60118_1e0d_44ec_9dd6_59ef9fd022d2 return res end_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1->id_aad60118_1e0d_44ec_9dd6_59ef9fd022d2
Esercizio n 32pag 142
id_811dba95_f0e5_4fa6_851c_409419f87bb2 Begin id_bb977588_16f6_402b_8349_c75f9701bacf multa = 0 id_811dba95_f0e5_4fa6_851c_409419f87bb2:s->id_bb977588_16f6_402b_8349_c75f9701bacf:n id_cf95d114_d3ba_4201_a8d0_10e3db3aaef2 numeroGiorniDiUnPrestito id_bb977588_16f6_402b_8349_c75f9701bacf:s->id_cf95d114_d3ba_4201_a8d0_10e3db3aaef2:n id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660 numeroGiorni>15 id_cf95d114_d3ba_4201_a8d0_10e3db3aaef2:s->id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660:n true_dummy_up_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660 id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660:e->true_dummy_up_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660 true false_dummy_up_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660 id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660:w->false_dummy_up_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660 false id_4846944f_4e99_4dde_9ecf_b3e1a163e07c multa = 0.80-(numeroGiorniPrestito-15) true_dummy_up_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660->id_4846944f_4e99_4dde_9ecf_b3e1a163e07c:n id_cf32e55d_ed64_4d57_8d12_35857b949e48 multa = 0 false_dummy_up_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660->id_cf32e55d_ed64_4d57_8d12_35857b949e48:n id_99b30931_bf0b_4f52_bf72_4e091691f0aa multa id_4846944f_4e99_4dde_9ecf_b3e1a163e07c:s->id_99b30931_bf0b_4f52_bf72_4e091691f0aa:n true_dummy_down_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660 id_99b30931_bf0b_4f52_bf72_4e091691f0aa:s->true_dummy_down_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660:n false_dummy_down_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660 id_cf32e55d_ed64_4d57_8d12_35857b949e48:s->false_dummy_down_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660:n end_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660 true_dummy_down_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660->end_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660 false_dummy_down_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660->end_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660 id_8c86a879_bc5e_4a4b_baa9_0c2fcf49a35e End end_id_8e7ed0df_b5e8_4161_b0fe_e39ce8bf8660:s->id_8c86a879_bc5e_4a4b_baa9_0c2fcf49a35e:n
New Program
id_a063a663_eada_492c_96fb_adec23b0ad09 controllaMaggiorenne(eta) id_28168ca0_6e60_4063_9e5f_0e24f090a3a8 maggiorenne id_a063a663_eada_492c_96fb_adec23b0ad09:s->id_28168ca0_6e60_4063_9e5f_0e24f090a3a8:n id_911bd90c_9c39_4e1c_9f6b_8b660327853f eta>=18 id_28168ca0_6e60_4063_9e5f_0e24f090a3a8:s->id_911bd90c_9c39_4e1c_9f6b_8b660327853f:n true_dummy_up_id_911bd90c_9c39_4e1c_9f6b_8b660327853f id_911bd90c_9c39_4e1c_9f6b_8b660327853f:e->true_dummy_up_id_911bd90c_9c39_4e1c_9f6b_8b660327853f true false_dummy_up_id_911bd90c_9c39_4e1c_9f6b_8b660327853f id_911bd90c_9c39_4e1c_9f6b_8b660327853f:w->false_dummy_up_id_911bd90c_9c39_4e1c_9f6b_8b660327853f false id_1d66c641_99cc_42e7_941e_0f2d8c35aa3b maggiorenne = true true_dummy_up_id_911bd90c_9c39_4e1c_9f6b_8b660327853f->id_1d66c641_99cc_42e7_941e_0f2d8c35aa3b:n id_43a6b1ac_032a_4f0c_ac8e_315b7c6d25dd maggiorenne = false false_dummy_up_id_911bd90c_9c39_4e1c_9f6b_8b660327853f->id_43a6b1ac_032a_4f0c_ac8e_315b7c6d25dd:n true_dummy_down_id_911bd90c_9c39_4e1c_9f6b_8b660327853f id_1d66c641_99cc_42e7_941e_0f2d8c35aa3b:s->true_dummy_down_id_911bd90c_9c39_4e1c_9f6b_8b660327853f:n false_dummy_down_id_911bd90c_9c39_4e1c_9f6b_8b660327853f id_43a6b1ac_032a_4f0c_ac8e_315b7c6d25dd:s->false_dummy_down_id_911bd90c_9c39_4e1c_9f6b_8b660327853f:n end_id_911bd90c_9c39_4e1c_9f6b_8b660327853f true_dummy_down_id_911bd90c_9c39_4e1c_9f6b_8b660327853f->end_id_911bd90c_9c39_4e1c_9f6b_8b660327853f false_dummy_down_id_911bd90c_9c39_4e1c_9f6b_8b660327853f->end_id_911bd90c_9c39_4e1c_9f6b_8b660327853f id_a52981cc_9497_45f8_8afc_d9d0fc65c4e9 return maggiorenne end_id_911bd90c_9c39_4e1c_9f6b_8b660327853f:s->id_a52981cc_9497_45f8_8afc_d9d0fc65c4e9:n
Esercizio n 39 pag 143
id_2d6a2226_2d85_406b_aaa5_f83397a74666 Begin id_c56c40d3_1ba6_457c_969c_f229412b530d numeroFlessioni = 0 id_2d6a2226_2d85_406b_aaa5_f83397a74666:s->id_c56c40d3_1ba6_457c_969c_f229412b530d:n id_f2c7bc75_1caa_4248_8798_8a169fbf55de minutiSesuta id_c56c40d3_1ba6_457c_969c_f229412b530d:s->id_f2c7bc75_1caa_4248_8798_8a169fbf55de:n id_3b05a14d_8e30_4288_ba21_4aea22d88e45 numeroFlessioni = minutiSeduta/10 id_f2c7bc75_1caa_4248_8798_8a169fbf55de:s->id_3b05a14d_8e30_4288_ba21_4aea22d88e45:n id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35 numeroFlessioni<60 id_3b05a14d_8e30_4288_ba21_4aea22d88e45:s->id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35:n true_dummy_up_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35 id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35:e->true_dummy_up_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35 true false_dummy_up_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35 id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35:w->false_dummy_up_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35 false id_19c5665d_47e9_474a_80bb_5b4ae0e6ef86 numeroFlessioni true_dummy_up_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35->id_19c5665d_47e9_474a_80bb_5b4ae0e6ef86:n id_afae1365_d1f7_4ed7_afdf_2622cb698eaa numeroFlessioniUguale60 false_dummy_up_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35->id_afae1365_d1f7_4ed7_afdf_2622cb698eaa:n true_dummy_down_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35 id_19c5665d_47e9_474a_80bb_5b4ae0e6ef86:s->true_dummy_down_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35:n false_dummy_down_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35 id_afae1365_d1f7_4ed7_afdf_2622cb698eaa:s->false_dummy_down_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35:n end_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35 true_dummy_down_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35->end_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35 false_dummy_down_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35->end_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35 id_c929c695_bada_4b41_b277_1e841cd4e6eb End end_id_1ed5ed58_8259_42e6_bcb7_ad750b7a8d35:s->id_c929c695_bada_4b41_b277_1e841cd4e6eb:n
CodeExploreLearnLog In