by @Giovanni Genoni Fork
{"functions":[],"name":"Es. 12","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_b09a0539_5eca_49cd_b8e8_95a30adb1c17"},{"@type":"Comment","id":"id_0376f3b1_7db5_4cfc_9f20_956dd44febd2","text":"Autore: Giovanni Genoni Classe: 1SQ Data: 13/03"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"numeroAmici","lengthValue2":"5","id":"id_30c6b9f9_95c1_4bb1_844d_1b25876b9708","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"votiPropostaUno","lengthValue2":"5","id":"id_32fc0429_b692_4811_9492_0d134c8b05c0","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"votiPropostaDue","lengthValue2":"5","id":"id_cc566fcf_0475_4b85_add9_08e6bcc7cab1","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"percentualeVotiPropostaUno","lengthValue2":"5","id":"id_4fa8ca6e_1360_426d_a256_fa9d9c3e526c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"percentualeVotiPropostaDue","lengthValue2":"5","id":"id_6d968af6_58d8_4be0_bee3_c09ce3c16cc1","initValue":null},{"newline":true,"@type":"Output","id":"id_20e7ae94_16f6_4100_8139_022bcf1d4c6b","value":"\"Inserisci il numero di amici\""},{"@type":"Input","name":"numeroAmici","id":"id_de1725b9_b7f6_4fde_b0ac_be874531c5ea","prompt":null},{"newline":true,"@type":"Output","id":"id_77320c36_8818_49fc_abf3_358d660d0f04","value":"\"Inserisci i voti della prima proposta\""},{"@type":"Input","name":"votiPropostaUno","id":"id_e11675da_0fef_45ba_944f_d85b03a3b925","prompt":null},{"newline":true,"@type":"Output","id":"id_40b9e148_7ab0_4ac6_a491_49f29a179159","value":"\"Inserisci i voti della seconda proposta\""},{"@type":"Input","name":"votiPropostaDue","id":"id_bc44d763_ba84_4e9a_b54f_1d4d18f570d8","prompt":null},{"@type":"Assign","name":"percentualeVotiPropostaUno","id":"id_57636bd1_f4d3_448a_9ea9_9da42c905595","value":"votiPropostaUno*100/numeroAmici"},{"@type":"Assign","name":"percentualeVotiPropostaDue","id":"id_22886d2a_3a09_42e0_89a0_6948f472e15b","value":"votiPropostaDue*100/numeroAmic"},{"@type":"Return","id":"id_6f940493_9b50_4e48_8806_47f1ab6c3a65","maybeValue":null}],"parameters":[]},"id":"id_9e627220_8e52_47f9_8146_16ac2f07774d","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":482}