by @Laura Escher Fork
{"functions":[],"name":"motor.2","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_7e5d1076_ae94_4e3e_8c81_c78bd2affcfa"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"totaldir","lengthValue2":"5","id":"id_09b704d9_6258_4260_8e24_b9d4ba8f73e6","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"totalesq","lengthValue2":"5","id":"id_7e1c6eb2_6839_4fb3_a3de_231321850808","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"asadir","lengthValue2":"5","id":"id_14b2080b_2dc2_4cea_a58f_3e61776dbb2a","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"asaesq","lengthValue2":"5","id":"id_fe805d24_d16f_4c6e_87f5_969f66cc85d1","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"estabilizacao","lengthValue2":"5","id":"id_12fd047e_5f68_4814_a4b1_4ece72bf5264","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"motordir","lengthValue2":"5","id":"id_6a9d4f38_e930_4cbf_a8e4_1867d516a9d9","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"motoresq","lengthValue2":"5","id":"id_8c8241ed_fa7b_4492_9bb9_31ac7dd12df5","initValue":null},{"newline":true,"@type":"Output","id":"id_90527f55_0e5d_4b19_b87a_0dbc19d06194","value":"\"Motor direito: \""},{"@type":"Input","name":"motordir","id":"id_28768452_10c2_46db_bced_6b815539466e","prompt":null},{"newline":true,"@type":"Output","id":"id_6dd24d4c_0fdd_4ddf_b03e_2159ab1a8443","value":"\"Motor esquerdo: \""},{"@type":"Input","name":"motoresq","id":"id_b905c31d_c4f3_4fc3_9212_c581567a38b9","prompt":null},{"newline":true,"@type":"Output","id":"id_322d2898_e299_4d66_a084_ed5cb4eec93d","value":"\"Estabilização: \""},{"@type":"Input","name":"estabilizacao","id":"id_c1328565_f5cb_4b69_a0c8_4df2b675e72f","prompt":null},{"newline":true,"@type":"Output","id":"id_00b6f55d_9810_42c5_929c_5fabdeb78208","value":"\"Asa direita: \""},{"@type":"Input","name":"asadir","id":"id_c2f404b0_2a27_4222_86e9_f7bad6a72b67","prompt":null},{"newline":true,"@type":"Output","id":"id_08e078c8_5b23_4ae1_9447_3ba5bc786dd7","value":"\"Asa esquerda: \""},{"@type":"Input","name":"asaesq","id":"id_8129ee95_073f_4de0_8498_c82a5869d5a6","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_fb4e3dfc_a848_4731_a31c_9d84e1f447e0","value":"\"Aplicar potência 2 em ambos os motores.\""},{"@type":"Assign","name":"motordir","id":"id_21f470dc_4f08_416b_a208_49bbed97cfca","value":"2"},{"@type":"Assign","name":"motoresq","id":"id_5fab43c6_4355_4e7b_b42c_aa124cf43f1e","value":"2"}],"id":"id_dbb27bfc_2b92_49f2_8fde_10ec58e3a4aa"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_789923a3_5632_4aba_8633_ac79fd9a220a","value":"\"Aplicar potência 9 no motor direito.\""},{"@type":"Assign","name":"motordir","id":"id_8091324f_42cf_4130_8f17_b77408c85bd5","value":"9"},{"@type":"Assign","name":"motoresq","id":"id_739a6c9f_f7e3_4f6b_a141_2ed7afcd48f2","value":"0"}],"id":"id_d8134ccb_73de_48f8_b9f8_c438d5e2e030"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6d522cbb_56da_4183_9109_37127e4ce1c4","value":"\"Aplicar potência 9 no motor esquerdo.\""},{"@type":"Assign","name":"motoresq","id":"id_379275e3_1abc_4b20_9cf1_f96bb89062cf","value":"9"},{"@type":"Assign","name":"motordir","id":"id_aa2d04e1_c18e_4ed0_ae65_a0480a4b8c99","value":"0"}],"id":"id_1d0acccb_9734_4598_a3c8_45415d72b327"},"condition":"asadir > asaesq","@type":"If","id":"id_8fdb2176_67d5_4af0_91a2_b1fa1649ad05"}],"id":"id_85548c39_4eb2_4223_a8fd_f677e710afac"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_fa818fef_5ff3_4aa1_8192_c3707dd44837","value":"\"Aplicar potência 5 nos dois motores.\""},{"@type":"Assign","name":"motordir","id":"id_d54b17f3_409e_4956_bda5_b71d07a9901b","value":"5"},{"@type":"Assign","name":"motoresq","id":"id_d651b161_b110_4bcb_a7b4_6e023f69484e","value":"5"}],"id":"id_c97a8bac_1671_4bb4_977d_653b66274180"},"condition":"asadir == asaesq","@type":"If","id":"id_6a8056da_d4f9_400b_baf5_55085687de38"}],"id":"id_9bd9404c_024e_4ea9_af97_99d2f57b219e"},"condition":"estabilizacao > 5","@type":"If","id":"id_577610b9_dd11_44c5_92c7_6beda5b7950b"},{"newline":true,"@type":"Output","id":"id_7387e414_389d_4eb4_9163_fc462942277c","value":"\"RELATÓRIO\""},{"newline":true,"@type":"Output","id":"id_a0c374a2_fca1_4cb7_8386_49e897ec0d29","value":"\"Estabilização: \"+estabilizacao"},{"newline":true,"@type":"Output","id":"id_e577c54f_dff6_47fd_b5ae_5566d8f08cca","value":"\"Pressão da asa direita: \"+asadir"},{"newline":true,"@type":"Output","id":"id_b637827e_e89e_4223_bb67_ffc6beda5b8f","value":"\"Pressão na asa esquerda: \"+asaesq"},{"newline":true,"@type":"Output","id":"id_2267e48d_6dfd_48aa_8499_a1dfe0405c88","value":"\"Potência do motor direito: \"+motordir"},{"newline":true,"@type":"Output","id":"id_3e9d7b88_5290_4d7c_a521_7ae14cf02ca9","value":"\"Potência no motor esquerdo: \"+motoresq"},{"@type":"Return","id":"id_6f327fb4_8ab3_4273_8ec6_af5577b7a435","maybeValue":null}],"parameters":[]},"id":"id_53742c93_8ebb_424b_ae7e_e4f662266b18","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":2103}