{"functions":[],"name":"BATTERY","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_3a44364d_c50f_4778_913f_916005ece3cb"},{"newline":true,"@type":"Output","id":"id_b7c65b7f_9032_419b_9efc_ada8df18f735","value":"\"welcome to battery analyzer \""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"health","lengthValue2":"5","id":"id_bb05eb06_3e52_4ec3_99a9_a4465b34d4bd","initValue":"0"},{"@type":"Input","name":"health","id":"id_6f5a549d_fe76_4690_ae69_713397697c6e","prompt":"enter your battery health:"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_6b58f1d8_e62e_41ba_a080_0cd5b9e29667"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b1061707_ff9b_4671_9722_f33fbdf4fedd","value":"\"YOUR BATTERY IS IN BAD CONDITION REPLACEMENT IS A MUST\""}],"id":"id_e574fa8d_0d59_4231_aa47_f7eb4a5a5d24"},"condition":"health <= 80","@type":"If","id":"id_cc528fc5_adc0_4444_a8d3_214906de7c49"}],"id":"id_5547b979_3e81_482b_bdb5_cccf6594e687"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_cee495e6_9fdd_4e16_b854_95f39e06b2ad","value":"\"Your battery is in good condition\""}],"id":"id_b3c52692_a156_4874_bce4_449bb4a51cb2"},"condition":"health >= 80","@type":"If","id":"id_e342fb44_c08f_4146_b628_495880a71899"}],"id":"id_c3cc1923_b6a5_4d0b_a52d_c328602f7686"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9460f759_408e_42f6_b4a2_b9401023f2f3","value":"\"your battery is in excellent condition\""}],"id":"id_28db56e5_1a06_4479_a851_ec1fc51c140f"},"condition":"health >= 90","@type":"If","id":"id_bb2e1629_e85f_402c_8900_af587c81dada"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"battery","lengthValue2":"5","id":"id_970383fd_d019_4157_85d6_2157d6b7e0d6","initValue":"0"},{"@type":"Input","name":"battery","id":"id_4e4e194b_5dbc_46b3_8b32_9133e76afaec","prompt":"Please enter your battery percentage:"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8eb87b4d_b7a8_4d6e_af61_8e0b1efbeceb","value":"\"CHECKING YOUR DEVICE TEMPERATURE\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"temperature","lengthValue2":"5","id":"id_d1ba1543_0514_4384_9ad8_b8c83d046b47","initValue":"00.0"},{"@type":"Input","name":"temperature","id":"id_8064115f_58b9_48b0_a080_1cffa76644a3","prompt":"enter device temperature: x:"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_afa549e9_054e_4010_a11e_a9c29c4ebd63","value":"\"TEMPERATURE IS GOOD, YOU MAY CHARGE IT\""}],"id":"id_c8ec89a7_6199_45c9_ace9_238e79c8edce"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9c97770e_0547_4ab8_98e3_1efedc0401b6","value":"\"cool it down before charging it\""}],"id":"id_e705c64e_1045_481e_8b66_0e121655b246"},"condition":"temperature >= 44.0","@type":"If","id":"id_da99ee27_5a27_47c4_93c9_2900107a7fd9"}],"id":"id_4a32194d_2449_4cba_aac9_dad508199089"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e22c8118_728d_43d4_a371_b0a54b2602cb","value":"\"NO NEED TO CHARGE IT\""}],"id":"id_395e4a86_2ecb_4d58_af88_6cfe8639ebf1"},"condition":"battery >= 30","@type":"If","id":"id_73e6d6c3_e88f_4d5c_8bda_faf39ceb48ce"},{"@type":"Return","id":"id_d6c450cf_b9b1_4c32_a5e5_c33d249b3110","maybeValue":null}],"parameters":[]},"id":"id_3a7c0824_87da_45c8_80b9_490350d32e16","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":true},"version":"0.3","revision":1658}