{"functions":[],"name":"Es.3 - VideogiocoPrezzo/Sconto","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_64d9867e_f5f1_4c26_bf7e_d18214ae0dec"},{"@type":"Comment","id":"id_ea05fcca_afc4_4409_8d44_887688e63f52","text":"Lorenzo Genellina 1RQ"},{"@type":"Comment","id":"id_f1c7e53d_9d8e_4871_a053_4a7933ebbdfd","text":"Dato il prezzo di un videogioco e una percentuale di sconto (ad es. 20%), calcola il prezzo scontato."},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"prezzoVideogioco","lengthValue2":"5","id":"id_5e6a4329_a391_435a_9754_ce95e5864196","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"percentualeSconto","lengthValue2":"5","id":"id_36ad6b09_e2fb_4951_bada_1ce79d9d413e","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"prezzoScontato","lengthValue2":"5","id":"id_fc4a4904_6495_4cfe_ad2a_e0b6e651d694","initValue":null},{"@type":"Input","name":"Inserisci prezzoVideogioco","id":"id_9460cf8b_f336_4c7c_936e_0aac391894cb","prompt":null},{"newline":true,"@type":"Output","id":"id_8c6298b3_ffce_4bd2_b97e_298e9a3d17f0","value":"\"prezzoVideogioco\""},{"@type":"Input","name":"Inserisci percentualeSconto","id":"id_db2075e9_2e8a_4234_b396_374b1bd8b234","prompt":null},{"newline":true,"@type":"Output","id":"id_e31830e1_5f2a_49c6_be28_31e3199e6b6b","value":"\"percentualeSconto\""},{"@type":"Assign","name":"prezzoScontato","id":"id_054759fe_068b_4585_8bc2_d2989334bb5c","value":"prezzoVideogioco - (prezzoVideogioco * percentualeSconto/100)"},{"newline":true,"@type":"Output","id":"id_df31a5fd_1e1d_46ab_b273_bc07a3230e2e","value":"\"il prezzo finale scontato è + prezzoScontato\""},{"@type":"Return","id":"id_80814db6_6be9_4871_8af5_29628cc80d78","maybeValue":null}],"parameters":[]},"id":"id_f298dc28_4f89_41cd_9125_2c4fe7cba82f","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":593}