by @Garrison Bennett Fork
{"functions":[],"name":"A10-practice","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_3f7af0ee_808b_4686_91bd_a5f5790b2c99"},{"@type":"Comment","id":"id_981bab27_4a13_4501_aaf1_e4079f8f6936","text":"Part 1 - Nested If"},{"@type":"Declare","tpe":"Real","name":"number","id":"id_ac4766cb_dfd6_409d_b478_7eeed73b24e8","initValue":null},{"@type":"Input","name":"number","id":"id_3a01e961_3c9b_465f_a261_73e562a3edc3","prompt":"Please enter a number: "},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7682f264_7f17_47c4_9f26_11c694142bab","value":"\"Your number is zero.\""}],"id":"id_29bb7ea8_d8d5_4ff1_bbda_ff83cdcff235"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e829c640_1af4_4d76_8ff6_e1f50650613e","value":"\"Your number is negative.\""}],"id":"id_986517db_0dda_439b_b9c5_da1d1ce17581"},"condition":"number < 0","@type":"If","id":"id_ecac086a_d5f4_4232_89c8_f8ee0e59c3a1"}],"id":"id_3aa49831_54b8_4fc5_9746_87c4d3e8433d"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_18032e6b_c8ec_480a_a5c1_42488d61b2ea","value":"\"Your number is positive.\""}],"id":"id_1f87577a_2975_4162_b88b_ce0eb30ef14a"},"condition":"number > 0","@type":"If","id":"id_9da8a219_24c3_47bb_ba84_044ac2d0bfd8"},{"@type":"Comment","id":"id_345e7cbb_9b7d_487b_b509_4af23c84282b","text":"Part 2 - Nested If again"},{"@type":"Declare","tpe":"Real","name":"score","id":"id_f86e141d_1bcf_48f3_8f4f_9c260dcf0b05","initValue":null},{"@type":"Input","name":"score","id":"id_25d868fd_5c09_499f_9ad4_358d2697decf","prompt":"Please input a score: "},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c858737e_958a_4f13_8676_2f42060c3749","value":"\"Not valid.\""}],"id":"id_a05b7039_4dd9_44be_aa94_a0e3d203d8da"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d6022647_138d_4992_b719_e5ead0e130a5","value":"\"Not valid.\""}],"id":"id_286524d9_862f_4d26_8067_45c6a71cddba"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e56f3938_c9e7_4861_a134_e149d16a6725","value":"\"Valid score.\""}],"id":"id_6e2c465a_1384_4772_a3e3_5c6a9b8ac13d"},"condition":"score <= 100","@type":"If","id":"id_bb37cc1c_f093_49fe_9c44_11467b99d8f3"}],"id":"id_23e4bf04_1bb4_4e51_8d74_d2faf84f4429"},"condition":"score >= 0","@type":"If","id":"id_2343a20f_8793_4998_b054_0e2d62bb2360"},{"@type":"Comment","id":"id_78c177b1_7a0a_4be7_8db7_d0539c082b21","text":"Part 3 - The AND Operator"},{"@type":"Input","name":"score","id":"id_5a0d4747_03ae_41d9_a031_280e7fac8577","prompt":"Please enter a new score: "},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d5b58a82_a21c_4157_a0b4_db7c02e1e050","value":"\"Not valid.\""}],"id":"id_96618ed1_4a67_4dc2_87fc_236fd915bf28"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_088aee49_e6e8_42d4_a500_e6665a9f185c","value":"\"Valid score.\""}],"id":"id_5fa1cbe6_8e4e_43d6_b88a_cb5acd5394ce"},"condition":"score >= 0 AND score <= 100","@type":"If","id":"id_667316e7_2099_4547_ba1a_cc1c793ef8b6"},{"@type":"Return","id":"id_5a4fce60_657f_4f98_b5f1_6123b0ae5408","maybeValue":null}],"parameters":[]},"id":"id_b09504a0_f41a_4666_a8ee_c5e4c800ac8b","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"javascript","showGenCode":true},"version":"0.2","revision":546}