by @prof. Giovanna Mannarino Fork
{"functions":[],"name":"Pozzoli Raffaella","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_7882f30c_d3dd_44cb_8671_a3a3721ed4d4"},{"@type":"Declare","tpe":"Integer","name":"guadagno","id":"id_00e92cae_e421_471e_b048_52c57f633a96","initValue":null},{"@type":"Declare","tpe":"Integer","name":"tot","id":"id_c713bc7a_5d32_4994_9d5e_69c1d014a456","initValue":null},{"@type":"Declare","tpe":"Integer","name":"straordinarie","id":"id_1a491e21_c487_4735_8e2b_14454b82532a","initValue":null},{"@type":"Declare","tpe":"Integer","name":"ore","id":"id_fce3ff55_20fd_4b7a_8f92_678566f43a69","initValue":null},{"newline":true,"@type":"Output","id":"id_f4bb3c15_cd64_49e0_8494_623a1ce41c5d","value":"\"quante ore fai?\""},{"@type":"Input","name":"ore","id":"id_2f151692_f75c_458e_b73d_4c90418a40c2","prompt":null},{"@type":"Declare","tpe":"Integer","name":"giorni","id":"id_6b1d8015_285f_414e_b6ed_af6a6e3ab6e7","initValue":null},{"newline":true,"@type":"Output","id":"id_8cca271f_88ba_4b04_a2fd_4e9059836f94","value":"\"quanto guadagni al giorno?\""},{"@type":"Assign","name":"giorni","id":"id_04015296_c161_40c3_b42c_944ecc0fb4b3","value":"31-8"},{"@type":"Declare","tpe":"Integer","name":"paga","id":"id_62de4646_0d9c_4c14_af24_36ca40e91e82","initValue":null},{"newline":true,"@type":"Output","id":"id_a3b7eeaf_9ba6_4214_b956_295d3d9d84bc","value":"\"quanto è la paga al giorno?\""},{"@type":"Input","name":"paga","id":"id_20223053_e962_4766_92c1_44be1df49af2","prompt":null},{"@type":"Assign","name":"guadagno","id":"id_664f45c7_6986_43a4_996b_77a176d55be3","value":"23*ore"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a009d6d9_436c_45e8_93b3_e605e36bdb4b","value":"\"quante ore sono le straordinarie?\""},{"@type":"Assign","name":"straordinarie","id":"id_e45d63b1_8d7d_4690_8d3d_75461eb6078b","value":"ore-8"},{"newline":true,"@type":"Output","id":"id_c25a1ba2_760f_401e_9aab_11139d4a2f7a","value":"\"le straordinarie sono \" + straordinarie"},{"@type":"Assign","name":"tot","id":"id_58487245_0682_4938_b44f_5ec741e2ec18","value":"paga+(paga*20)/100"},{"newline":true,"@type":"Output","id":"id_eebff218_bf36_45b1_9be2_e65c1b4912ee","value":"\"il tot è \" + tot+straordinarie"}],"id":"id_e54f3d8f_72e1_4b75_a26e_817da8c78b59"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_2a8eb4cc_502f_478f_a607_cbd0d6e32767","value":"\"quanto guadagni nel mese di ottobre?\""},{"@type":"Assign","name":"guadagno","id":"id_d7f69b2e_1464_4dc3_b0fd_992b55c4c881","value":"ore*50"},{"newline":true,"@type":"Output","id":"id_ba694929_6c18_4c3b_adcf_d9cbba852cbf","value":"\"il guadagno è \" + guadagno"}],"id":"id_d8bcf873_367a_45ab_86a9_6c3d623f09b2"},"condition":"ore<8","@type":"If","id":"id_11bbf185_aba7_4b5c_8bee_a4a13887c46e"},{"@type":"Return","id":"id_2159d47c_1f0e_48f9_9be2_5d717bf1c9d2","maybeValue":null}],"parameters":[]},"id":"id_870f0110_9da8_4f2a_9ffd_be2184e207ad","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":634}