by @stud. Karim Yachou Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_15c0eaa3_b2d5_4a04_8234_e1be74904489"},{"@type":"Declare","tpe":"String","name":"p","id":"id_acac964b_2d1b_4cd5_990b_552b8be58ce2","initValue":null},{"@type":"Declare","tpe":"Integer","name":"pr","id":"id_7045d81b_3d45_49a9_ab62_02b680df8229","initValue":null},{"@type":"Declare","tpe":"Integer","name":"q","id":"id_ed6791ee_f922_41de_ac87_3719db509c5c","initValue":null},{"@type":"Declare","tpe":"Integer","name":"b","id":"id_6707de53_6f0a_4c84_bd9c_479c2538231e","initValue":null},{"@type":"Declare","tpe":"Integer","name":"r","id":"id_9e6acde2_9c90_40da_aea5_b7af98deaf98","initValue":null},{"@type":"Declare","tpe":"Integer","name":"tot","id":"id_5f291a84_5dca_4c53_89b3_117bc39e0e61","initValue":null},{"newline":true,"@type":"Output","id":"id_1e79c778_7d9d_439c_b170_fe4cbb6b9806","value":"\"dammi il nome del prodotto\""},{"@type":"Input","name":"p","id":"id_61c38701_b7db_40e1_8191_4f72c5ea2e80","prompt":null},{"newline":true,"@type":"Output","id":"id_c30653b9_0f20_4937_8507_336c3aded678","value":"\"dammi il prezzo\""},{"@type":"Input","name":"pr","id":"id_6d7e7d12_e4d8_4fcb_b0a1_b8123aa6490e","prompt":null},{"newline":true,"@type":"Output","id":"id_9b2e0334_111a_4457_adbc_eed817242396","value":"\"dammi la quantità\""},{"@type":"Input","name":"q","id":"id_11602372_50d2_4413_b196_bfb21bb82c80","prompt":null},{"newline":true,"@type":"Output","id":"id_3482a6b5_de29_4c75_a2bc_8ff1b7fc3586","value":"\"dammi il budget\""},{"@type":"Input","name":"b","id":"id_f486b350_df51_4aed_a02e_adee1710c4d9","prompt":null},{"@type":"Assign","name":"tot","id":"id_2b813211_53cb_4058_9962_504bd3fc3f23","value":"pr*q"},{"@type":"Assign","name":"r","id":"id_d63a873a_7625_4a56_a4f3_c4e5bd9e34c5","value":"abs"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_778d3464_bd25_40dd_b814_669286565aad","value":"\"non puoi acquistarlo ti serve \" + r"}],"id":"id_fd12a272_8598_40a5_b227_d3a77d039062"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_86061b9e_9bb5_4a2f_b388_3592639f3e59","value":"\"puoi acquistarlo ti rimane \" + r"}],"id":"id_9c41bffb_3156_46cf_a1d7_598bd4f38a8d"},"condition":"r>0","@type":"If","id":"id_42e4fa98_4a42_4050_b4b3_a6caddd46091"},{"@type":"Return","id":"id_ea868aa8_3a32_407d_ab9e_6aeb921776ed","maybeValue":null}],"parameters":[]},"id":"id_8cc6f028_13df_42dc_94c2_a19f1c0a686d","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":159}