by @Pedro Ribeiro Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_d3d87262_c45c_4940_b427_bb7ff55c6152"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"noites","lengthValue2":"5","id":"id_5dfba108_d1b6_464f_88da_77d4af71313e","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"preco","lengthValue2":"5","id":"id_246c3c07_d306_4075_9221_5a9fd95c9870","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"total","lengthValue2":"5","id":"id_7b4b684b_a4fd_440a_b8bc_a16ad265d5fa","initValue":null},{"newline":true,"@type":"Output","id":"id_c22f4987_c6ad_45e4_8654_3c70447b45df","value":"\"Quantas noites?\""},{"@type":"Input","name":"noites","id":"id_48c1d71a_e84c_406a_b920_ba395d99f7bc","prompt":null},{"newline":true,"@type":"Output","id":"id_3f61f0a0_c609_4cd1_8971_d316d9260691","value":"\"qual o preco?\""},{"@type":"Input","name":"preco","id":"id_06f77027_734f_4c6e_99e7_ecc99ccd7f96","prompt":null},{"@type":"Assign","name":"total","id":"id_dca484c2_e53e_483b_b34a_15ab8e12a001","value":"preco*noites"},{"falseBlock":{"statements":[],"id":"id_7927cb1b_ecdd_4d16_8770_25c8a17ed364"},"trueBlock":{"statements":[{"@type":"Assign","name":"total","id":"id_6d84007b_2ca1_4bc7_9455_106d3dbac859","value":"total * 0.9"}],"id":"id_ac3dbe26_9414_4987_8952_de10c854f247"},"condition":"noites>=7","@type":"If","id":"id_cd83ee85_af13_4555_9d5c_2eade30a8beb"},{"newline":false,"@type":"Output","id":"id_b1d25ff5_757d_41ce_925d_bed224241b68","value":"\"o total é:\" + total"},{"@type":"Return","id":"id_62dd7513_94f1_4f8b_8a20_f5f2b3171352","maybeValue":null}],"parameters":[]},"id":"id_98f4bf67_4581_42f4_89d3_5d1d16a82977","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":370}