by @stud. Luca Cianni Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_0223a524_96b9_4ead_acef_0a1db573c7b0"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_0479dffa_bf7c_41d4_b060_12bad2cfb672","initValue":null},{"newline":true,"@type":"Output","id":"id_eb7798ad_c546_401c_b9ad_32dd800f8031","value":"\"dammi numero scatti attuali\""},{"@type":"Input","name":"x","id":"id_69cfe523_81c9_4cfb_9628_67e71e2b3ac6","prompt":null},{"@type":"Declare","tpe":"Integer","name":"z","id":"id_1006b9f6_b9c0_4b5f_aa6f_a788ec2d72d4","initValue":null},{"newline":true,"@type":"Output","id":"id_5e54ae2f_2194_4939_a3fb_11e4b3ab2ee8","value":"\"dammi scatti trim precedente\""},{"@type":"Input","name":"z","id":"id_056e2447_ca19_4887_8dcf_f6d6e489285f","prompt":"Please enter x:"},{"@type":"Declare","tpe":"Integer","name":"a","id":"id_bdb431c1_8b30_4c65_9907_447bfaa4c197","initValue":null},{"newline":true,"@type":"Output","id":"id_ed2b0d2a_0fbb_428b_a76f_f142fc8c18d3","value":"\" dammi costo singolo scatto\""},{"@type":"Input","name":"a","id":"id_1adebc25_a9b8_447a_83ed_16265daaddcd","prompt":"Please enter x:"},{"@type":"Declare","tpe":"Integer","name":"b","id":"id_a42f70eb_f432_4d39_86d6_040f3e3bf3a5","initValue":null},{"newline":true,"@type":"Output","id":"id_85159f4f_9bd3_4bc6_a16c_45377a745a76","value":"\"dammi canone fisso\""},{"@type":"Input","name":"b","id":"id_3774603b_3b3f_426e_b3a3_de2070d04812","prompt":"Please enter x:"},{"@type":"Declare","tpe":"Integer","name":"tots","id":"id_5fa9beb9_6923_464d_be21_11147c3d5477","initValue":null},{"@type":"Assign","name":"tots","id":"id_bdb4269f_fa67_4531_a08f_305b0c6d7966","value":"x-z"},{"newline":true,"@type":"Output","id":"id_30e1af73_4706_4b12_adf1_bd693b8405aa","value":"\"il totale scatti è \" + tots"},{"@type":"Declare","tpe":"Integer","name":"costo","id":"id_04b24860_8a64_486e_9881_a27b92a7d846","initValue":null},{"@type":"Assign","name":"costo","id":"id_0eb3fb2f_37b4_42d2_9045_11ba1eb7f8b3","value":"tots*a"},{"newline":true,"@type":"Output","id":"id_11770ef7_5482_47c1_ab22_48b2724dff0b","value":"\"il totale della bolletta senza il canone fisso è \" + costo"},{"@type":"Declare","tpe":"Integer","name":"costof","id":"id_6b41e2ac_79f9_41f8_9661_287d5cf6174a","initValue":null},{"@type":"Assign","name":"costof","id":"id_de067d8f_9da8_44e3_a520_979a312bc023","value":"costo+b"},{"newline":true,"@type":"Output","id":"id_8db6ae0a_2236_4039_aff0_5fbc09377985","value":"\"il costo finale della bolletta è \" + costof"},{"@type":"Return","id":"id_adaed310_6426_4d56_a4ed_033d499c923d","maybeValue":null}],"parameters":[]},"id":"id_c35d688f_e317_418b_9a31_47a60db1a375","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":false},"version":"0.2","revision":582}