by @Santucci Cristian Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2f29c62d_e6b3_40ad_8584_c5ea49c03d95"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"modello","lengthValue2":"5","id":"id_470dfeb7_ed06_4cee_a548_640e5fbccd87","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"quantita","lengthValue2":"5","id":"id_15568bdc_7277_4bfa_b6ec_5b93b71b4317","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"prezzounitario","lengthValue2":"5","id":"id_c40c97f3_1518_4738_be9f_74b97129b5f2","initValue":null},{"newline":true,"@type":"Output","id":"id_6d6d5ae1_683d_4686_b97f_38cc894f32cc","value":"\"inseriscimodello\""},{"@type":"Input","name":"modello","id":"id_409bbacd_d616_41db_a407_38cbc8e615bc","prompt":null},{"newline":true,"@type":"Output","id":"id_cfd5afd9_af3e_414f_953f_a5a5a42dec1a","value":"\"inserisciquantità\""},{"@type":"Input","name":"quantita","id":"id_763b5abc_1cce_4d91_bd3a_7c9363215e81","prompt":null},{"newline":true,"@type":"Output","id":"id_aa5d3e56_882e_4064_a481_88a1cae65c2b","value":"\"inserisciprezzounitario\""},{"@type":"Input","name":"prezzounitario","id":"id_725e7e94_fbd1_4c9c_a7a2_b984bc9b4904","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"totalelordo","lengthValue2":"5","id":"id_a46a0179_9156_4747_a2ff_b40f3a0d8a86","initValue":null},{"@type":"Assign","name":"totalelordo","id":"id_96bfc536_4a37_48a1_8926_9d61e90eb639","value":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"sconto","lengthValue2":"5","id":"id_0aba320c_4094_4e15_a8c1_de13af83bb95","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"iva","lengthValue2":"5","id":"id_672504f7_940f_408d_b222_aacfd72f164b","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"totalenetto","lengthValue2":"5","id":"id_6311cce3_ab83_4b68_979f_8e818f7a3cae","initValue":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"sconto","id":"id_9fbbcc28_61b7_47b6_a8d0_4f8c9b7a25dd","value":"0"}],"id":"id_452fa88b_907d_4719_9f4e_9456b25345b6"},"trueBlock":{"statements":[{"@type":"Assign","name":"sconto","id":"id_36a8b6d2_71d0_4dbb_9aa3_f7394d7a5913","value":"importolordo*0.10"}],"id":"id_ebd5ff7e_63f7_4c41_8a59_e8fdcb5c441d"},"condition":"totalelordo>5000","@type":"If","id":"id_d35b827f_d33c_4f47_9d2d_926c606304de"},{"@type":"Assign","name":"totalenetto","id":"id_3b0e9400_dc9e_4477_aa71_4847775bd8d8","value":"importolordo-sconto"},{"@type":"Assign","name":"iva","id":"id_114d63f1_2532_4739_89e2_88229f2d93e6","value":"totalenetto*0.22"},{"@type":"Assign","name":"totalenetto","id":"id_92c98550_baf8_40c8_b858_c481ed735210","value":"totalenetto+iva"},{"newline":true,"@type":"Output","id":"id_3d021ad1_30b6_4403_9af5_0812dfc5d43d","value":"\"totale: \"+totalenetto"},{"@type":"Return","id":"id_6fe08dc8_f2cd_43ff_9967_9af8113cc906","maybeValue":null}],"parameters":[]},"id":"id_f2291acd_c66a_48f8_8d4f_c01dea18fe0a","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":572}