{"functions":[],"name":"Es 4","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2dee0ff1_e875_40fc_886f_8b7e2a5a9669"},{"@type":"Comment","id":"id_f7e23cca_5a3b_4472_9233_2743fedf7f2d","text":"Autore: Alberto Chiola classe: 1 SQ"},{"@type":"Comment","id":"id_69c5d2a3_4954_4767_8f2f_0b411165143c","text":"Progettare un algoritmo che a partire dal peso in kg di una persona e dalla sua altezza in metri, calcoli il suo indice massa corporea ( Body Mass Index ) secondo la formula"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"PesoKg","lengthValue2":"5","id":"id_1a0bed60_ad3c_4023_b22b_9d95d3cd6a9b","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"AltezzaMetri","lengthValue2":"5","id":"id_e8c079a7_97a8_41c5_ae93_0ca8d5d086bd","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"IndiceMassaCorporea","lengthValue2":"5","id":"id_2c45e833_de48_4c21_ae5b_8ba99e7b47c2","initValue":null},{"newline":true,"@type":"Output","id":"id_1643cfd3_0a8f_4a4b_9897_aa2e0c642cd0","value":"\"Inserisci il peso in kg\""},{"@type":"Input","name":"PesoKg","id":"id_0163d6ac_b997_4272_9023_0653ea61836d","prompt":null},{"newline":true,"@type":"Output","id":"id_e3d29d50_e28b_45db_baf0_bc8eb95f97ed","value":"\"Inserisci altezza in metri\""},{"@type":"Input","name":"AltezzaMetri","id":"id_d3f31938_b606_414b_bd96_5ba0f502512f","prompt":null},{"@type":"Assign","name":"IndiceMassaCorporea","id":"id_d529610b_021a_4844_aa8e_025874fc6a9e","value":"PesoKg/ ( AltezzaMetri * AltezzaMetri )"},{"newline":true,"@type":"Output","id":"id_74eaf480_7e20_41e1_8e58_2dba9dd92caa","value":"\"L’indice di massa corporea é\" + IndiceMassaCorporea"},{"@type":"Return","id":"id_75019f8c_8021_449f_9696_46df3e55d68d","maybeValue":null}],"parameters":[]},"id":"id_8cfd210a_88e5_4cef_bdae_f158b11edf81","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":759}