{"functions":[],"name":"RecuperoOttobre","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_e7b19e22_04bb_45f5_9f79_4b4d88dd4cda"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"cliente","lengthValue2":"5","id":"id_eb01940c_eb82_4d32_bf81_6d60a085ef93","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"quantita","lengthValue2":"5","id":"id_cbd82dff_b2b2_4e6a_bc8a_fb18116225ec","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"prezzo","lengthValue2":"5","id":"id_288a95a9_46ad_4480_9dae_513da3bfb77d","initValue":null},{"newline":true,"@type":"Output","id":"id_eb823f78_dd80_4db1_9860_8cf8e2952b87","value":"\"Inserire nome cliente\""},{"@type":"Input","name":"cliente","id":"id_61b2c694_9916_4c09_82d9_47b3fcbeecf6","prompt":null},{"newline":true,"@type":"Output","id":"id_0f36eb26_d543_4838_944a_895d5b92865b","value":"\"Inserire quantità computer da acquistare\""},{"@type":"Input","name":"quantita","id":"id_c8c68ced_f04f_4f75_9805_087d581c6157","prompt":null},{"newline":true,"@type":"Output","id":"id_884218a8_11d4_4765_9825_ae2053d4bcb2","value":"\"Inserire prezzo per unità \""},{"@type":"Input","name":"prezzo","id":"id_1830d264_9a43_49ba_8232_ec3b081ca44c","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"lordo","lengthValue2":"5","id":"id_cbee60d9_3dc4_4bb5_a95e_6372338982f2","initValue":null},{"@type":"Assign","name":"lordo","id":"id_b1ac40e1_febd_4cf5_87a2_330f635d27c2","value":"quantita*prezzo"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"totale","lengthValue2":"5","id":"id_203aa7cb_2691_4b65_a467_7c2b3b2c60a8","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"sconto","lengthValue2":"5","id":"id_52df1f09_f734_49fd_a820_2432a903891e","initValue":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"sconto","id":"id_b75c9af5_569a_4b22_a7b0_6536860e4f72","value":"lordo*0.05"}],"id":"id_e8734234_cac8_4007_91b3_4903d4444895"},"trueBlock":{"statements":[{"@type":"Assign","name":"sconto","id":"id_37a5e64c_deae_4403_96fc_c9ce5d6c74de","value":"lordo*0.15"}],"id":"id_35287d48_fdb5_4d77_b64c_0e27977dde64"},"condition":"quantita>20 || lordo > 10000","@type":"If","id":"id_c9c6d844_bf06_498c_810e_4c071168c591"},{"@type":"Assign","name":"totale","id":"id_64658bc7_2d88_44c0_b62b_d8918f136e26","value":"lordo - sconto"},{"@type":"Assign","name":"totale","id":"id_5cdad6f4_f7e7_4e35_8e7b_f0275e6362f7","value":"totale + totale*0.22"},{"newline":true,"@type":"Output","id":"id_3691b5c2_8f97_463a_802d_0f38fc7d4767","value":"\"Nome cliente:\" + cliente"},{"newline":true,"@type":"Output","id":"id_9da9c7f9_23a5_45d1_bcee_034c2e033729","value":"\"lordo:\" + lordo"},{"newline":true,"@type":"Output","id":"id_1751a927_13b8_446f_a7d9_9c3474c15cbf","value":"\"sconto:\" + sconto"},{"newline":true,"@type":"Output","id":"id_a2dbb4d6_7666_4032_b031_0b0119a8a114","value":"\"totale:\" + totale"},{"@type":"Return","id":"id_d87d09db_661c_41ff_8910_004cb81d2fb2","maybeValue":null}],"parameters":[]},"id":"id_eeb32977_b039_4ff2_bd9a_e5305a6548e4","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":619}