Palindrome
id_cf913089_dd5c_4755_92b3_890608d4146b isPalindrome(s) id_453d0e31_7b41_4984_9c24_2bee908e89a8 res = true id_cf913089_dd5c_4755_92b3_890608d4146b:s->id_453d0e31_7b41_4984_9c24_2bee908e89a8:n id_2082e129_f30c_41f0_90e4_9c1218656ffe mirrorIdx id_453d0e31_7b41_4984_9c24_2bee908e89a8:s->id_2082e129_f30c_41f0_90e4_9c1218656ffe:n id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 i = 0 to length(s)-1 by 1 id_2082e129_f30c_41f0_90e4_9c1218656ffe:s->id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1:n true_dummy_up_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1:e->true_dummy_up_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 true false_dummy_up_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1:w->false_dummy_up_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 false id_c2da7b74_d4fc_414f_b50d_ea1cf773d662 mirrorIdx = length(s)-i-1 true_dummy_up_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1->id_c2da7b74_d4fc_414f_b50d_ea1cf773d662:n false_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 false_dummy_up_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1->false_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 charAt(s, i) != charAt(s, mirrorIdx) id_c2da7b74_d4fc_414f_b50d_ea1cf773d662:s->id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45:n true_dummy_up_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45:e->true_dummy_up_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 true false_dummy_up_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45:w->false_dummy_up_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 false id_fd8c710d_bd61_45f3_ac1d_5b4355d17e6a res = false true_dummy_up_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45->id_fd8c710d_bd61_45f3_ac1d_5b4355d17e6a:n false_dummy_down_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 false_dummy_up_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45->false_dummy_down_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45:n true_dummy_down_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 id_fd8c710d_bd61_45f3_ac1d_5b4355d17e6a:s->true_dummy_down_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45:n end_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 true_dummy_down_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45->end_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 false_dummy_down_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45->end_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45 true_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 end_id_0a084dbf_c40a_4cf7_bd46_7ff97c945b45:s->true_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1:n true_dummy_down_left_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 true_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1->true_dummy_down_left_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 true_dummy_down_left_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1->id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1:s end_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 false_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1->end_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1 id_aad60118_1e0d_44ec_9dd6_59ef9fd022d2 return res end_dummy_down_id_72d68f30_f4b5_418c_b7c4_51ca65c1fdb1->id_aad60118_1e0d_44ec_9dd6_59ef9fd022d2
Discount Calculator
id_3035c914_8615_422a_b1c6_7b024c5d9af4 calcDiscount(amount) id_cb1c4b65_4662_432a_8a80_a87be44b30ae discount id_3035c914_8615_422a_b1c6_7b024c5d9af4:s->id_cb1c4b65_4662_432a_8a80_a87be44b30ae:n id_cfe2735b_0710_4194_ac4c_562059e28366 amount > 100 id_cb1c4b65_4662_432a_8a80_a87be44b30ae:s->id_cfe2735b_0710_4194_ac4c_562059e28366:n true_dummy_up_id_cfe2735b_0710_4194_ac4c_562059e28366 id_cfe2735b_0710_4194_ac4c_562059e28366:e->true_dummy_up_id_cfe2735b_0710_4194_ac4c_562059e28366 true false_dummy_up_id_cfe2735b_0710_4194_ac4c_562059e28366 id_cfe2735b_0710_4194_ac4c_562059e28366:w->false_dummy_up_id_cfe2735b_0710_4194_ac4c_562059e28366 false id_0d8ec699_5144_49be_b891_b54d02e1342f amount > 1000 true_dummy_up_id_cfe2735b_0710_4194_ac4c_562059e28366->id_0d8ec699_5144_49be_b891_b54d02e1342f:n id_26a63916_48e4_4ce9_891a_7ef770513db5 discount = 5 false_dummy_up_id_cfe2735b_0710_4194_ac4c_562059e28366->id_26a63916_48e4_4ce9_891a_7ef770513db5:n true_dummy_up_id_0d8ec699_5144_49be_b891_b54d02e1342f id_0d8ec699_5144_49be_b891_b54d02e1342f:e->true_dummy_up_id_0d8ec699_5144_49be_b891_b54d02e1342f true false_dummy_up_id_0d8ec699_5144_49be_b891_b54d02e1342f id_0d8ec699_5144_49be_b891_b54d02e1342f:w->false_dummy_up_id_0d8ec699_5144_49be_b891_b54d02e1342f false id_f6166449_adc9_400d_a41f_ec160bfa749e discount = 20 true_dummy_up_id_0d8ec699_5144_49be_b891_b54d02e1342f->id_f6166449_adc9_400d_a41f_ec160bfa749e:n id_747f34bf_9ab9_4482_b183_a7fa8e16a0b0 discount = 10 false_dummy_up_id_0d8ec699_5144_49be_b891_b54d02e1342f->id_747f34bf_9ab9_4482_b183_a7fa8e16a0b0:n true_dummy_down_id_0d8ec699_5144_49be_b891_b54d02e1342f id_f6166449_adc9_400d_a41f_ec160bfa749e:s->true_dummy_down_id_0d8ec699_5144_49be_b891_b54d02e1342f:n false_dummy_down_id_0d8ec699_5144_49be_b891_b54d02e1342f id_747f34bf_9ab9_4482_b183_a7fa8e16a0b0:s->false_dummy_down_id_0d8ec699_5144_49be_b891_b54d02e1342f:n end_id_0d8ec699_5144_49be_b891_b54d02e1342f true_dummy_down_id_0d8ec699_5144_49be_b891_b54d02e1342f->end_id_0d8ec699_5144_49be_b891_b54d02e1342f false_dummy_down_id_0d8ec699_5144_49be_b891_b54d02e1342f->end_id_0d8ec699_5144_49be_b891_b54d02e1342f true_dummy_down_id_cfe2735b_0710_4194_ac4c_562059e28366 end_id_0d8ec699_5144_49be_b891_b54d02e1342f:s->true_dummy_down_id_cfe2735b_0710_4194_ac4c_562059e28366:n false_dummy_down_id_cfe2735b_0710_4194_ac4c_562059e28366 id_26a63916_48e4_4ce9_891a_7ef770513db5:s->false_dummy_down_id_cfe2735b_0710_4194_ac4c_562059e28366:n end_id_cfe2735b_0710_4194_ac4c_562059e28366 true_dummy_down_id_cfe2735b_0710_4194_ac4c_562059e28366->end_id_cfe2735b_0710_4194_ac4c_562059e28366 false_dummy_down_id_cfe2735b_0710_4194_ac4c_562059e28366->end_id_cfe2735b_0710_4194_ac4c_562059e28366 id_6940f2b8_2304_4281_a82c_4fff63a1a3cd return discount end_id_cfe2735b_0710_4194_ac4c_562059e28366:s->id_6940f2b8_2304_4281_a82c_4fff63a1a3cd:n
New Program
id_9a6dc4d5_49f4_4901_99f3_2ec2c7b613d6 Begin id_94eb04e2_6559_4249_a19c_540955a3f6ce x = 0 id_9a6dc4d5_49f4_4901_99f3_2ec2c7b613d6:s->id_94eb04e2_6559_4249_a19c_540955a3f6ce:n id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 i = 0 to 10 by 1 id_94eb04e2_6559_4249_a19c_540955a3f6ce:s->id_edb77ba3_612c_4bb0_bf7c_d36939a6b275:n true_dummy_up_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 id_edb77ba3_612c_4bb0_bf7c_d36939a6b275:e->true_dummy_up_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 true false_dummy_up_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 id_edb77ba3_612c_4bb0_bf7c_d36939a6b275:w->false_dummy_up_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 false id_e507b127_78a8_4ed3_ad2b_03e6cab3bd7c "output" true_dummy_up_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275->id_e507b127_78a8_4ed3_ad2b_03e6cab3bd7c:n false_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 false_dummy_up_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275->false_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 id_5622e58e_f2d7_4312_9ccb_47229f531b17 x id_e507b127_78a8_4ed3_ad2b_03e6cab3bd7c:s->id_5622e58e_f2d7_4312_9ccb_47229f531b17:n true_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 id_5622e58e_f2d7_4312_9ccb_47229f531b17:s->true_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275:n true_dummy_down_left_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 true_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275->true_dummy_down_left_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 true_dummy_down_left_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275->id_edb77ba3_612c_4bb0_bf7c_d36939a6b275:s end_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 false_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275->end_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275 id_7da23b0f_fc4a_4d1e_a078_46981816e67c End end_dummy_down_id_edb77ba3_612c_4bb0_bf7c_d36939a6b275->id_7da23b0f_fc4a_4d1e_a078_46981816e67c
Multiplication table
id_ceb5fe8e_77a8_4306_839d_59c9cee6dd18 Begin id_7fdb3671_8893_4a6f_8db2_2f36fdef342b i = 1 to 10 by 1 id_ceb5fe8e_77a8_4306_839d_59c9cee6dd18:s->id_7fdb3671_8893_4a6f_8db2_2f36fdef342b:n true_dummy_up_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b id_7fdb3671_8893_4a6f_8db2_2f36fdef342b:e->true_dummy_up_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b true false_dummy_up_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b id_7fdb3671_8893_4a6f_8db2_2f36fdef342b:w->false_dummy_up_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b false id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c j = 1 to 10 by 1 true_dummy_up_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b->id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c:n false_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b false_dummy_up_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b->false_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b true_dummy_up_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c:e->true_dummy_up_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c true false_dummy_up_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c:w->false_dummy_up_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c false id_2ac34bb4_12b2_4809_a8e7_32cc8126cffd " " + (i*j) true_dummy_up_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c->id_2ac34bb4_12b2_4809_a8e7_32cc8126cffd:n false_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c false_dummy_up_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c->false_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c true_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c id_2ac34bb4_12b2_4809_a8e7_32cc8126cffd:s->true_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c:n true_dummy_down_left_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c true_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c->true_dummy_down_left_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c true_dummy_down_left_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c->id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c:s end_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c false_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c->end_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c id_b5b7db96_8280_4e26_b234_f94ecb19326f "" end_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c->id_b5b7db96_8280_4e26_b234_f94ecb19326f true_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b id_b5b7db96_8280_4e26_b234_f94ecb19326f:s->true_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b:n true_dummy_down_left_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b true_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b->true_dummy_down_left_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b true_dummy_down_left_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b->id_7fdb3671_8893_4a6f_8db2_2f36fdef342b:s end_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b false_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b->end_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b id_f34b9766_0d8d_4cb9_99dd_221de1f413e9 End end_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b->id_f34b9766_0d8d_4cb9_99dd_221de1f413e9
New Progr
id_45804415_49d0_46b1_9ba7_97cdaa077c34 Begin id_e70b8f91_2fb1_405e_8450_5b809cc65b71 x id_45804415_49d0_46b1_9ba7_97cdaa077c34:s->id_e70b8f91_2fb1_405e_8450_5b809cc65b71:n id_c503c26e_bc11_4457_8402_2dba8d54fe17 x id_e70b8f91_2fb1_405e_8450_5b809cc65b71:s->id_c503c26e_bc11_4457_8402_2dba8d54fe17:n id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f x>10 id_c503c26e_bc11_4457_8402_2dba8d54fe17:s->id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f:n true_dummy_up_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f:e->true_dummy_up_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f true false_dummy_up_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f:w->false_dummy_up_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f false id_c495b3f5_bfe8_4056_83b0_fc23dcb9e557 x true_dummy_up_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f->id_c495b3f5_bfe8_4056_83b0_fc23dcb9e557:n false_dummy_down_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f false_dummy_up_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f->false_dummy_down_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f:n true_dummy_down_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f id_c495b3f5_bfe8_4056_83b0_fc23dcb9e557:s->true_dummy_down_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f:n end_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f true_dummy_down_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f->end_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f false_dummy_down_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f->end_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f id_3a221b56_dea7_4346_bb79_3d7a02e4f01f End end_id_9ca6039f_9e78_4214_ae1f_3dfac0008b3f:s->id_3a221b56_dea7_4346_bb79_3d7a02e4f01f:n
Multiplication table
id_ceb5fe8e_77a8_4306_839d_59c9cee6dd18 Begin id_7fdb3671_8893_4a6f_8db2_2f36fdef342b i = 1 to 10 by 1 id_ceb5fe8e_77a8_4306_839d_59c9cee6dd18:s->id_7fdb3671_8893_4a6f_8db2_2f36fdef342b:n true_dummy_up_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b id_7fdb3671_8893_4a6f_8db2_2f36fdef342b:e->true_dummy_up_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b true false_dummy_up_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b id_7fdb3671_8893_4a6f_8db2_2f36fdef342b:w->false_dummy_up_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b false id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c j = 1 to 10 by 1 true_dummy_up_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b->id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c:n false_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b false_dummy_up_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b->false_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b true_dummy_up_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c:e->true_dummy_up_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c true false_dummy_up_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c:w->false_dummy_up_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c false id_2ac34bb4_12b2_4809_a8e7_32cc8126cffd " " + (i*j) true_dummy_up_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c->id_2ac34bb4_12b2_4809_a8e7_32cc8126cffd:n false_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c false_dummy_up_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c->false_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c true_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c id_2ac34bb4_12b2_4809_a8e7_32cc8126cffd:s->true_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c:n true_dummy_down_left_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c true_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c->true_dummy_down_left_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c true_dummy_down_left_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c->id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c:s end_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c false_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c->end_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c id_b5b7db96_8280_4e26_b234_f94ecb19326f "" end_dummy_down_id_6dcb4b4e_6dc9_45c3_a00d_e7facefdd58c->id_b5b7db96_8280_4e26_b234_f94ecb19326f true_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b id_b5b7db96_8280_4e26_b234_f94ecb19326f:s->true_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b:n true_dummy_down_left_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b true_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b->true_dummy_down_left_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b true_dummy_down_left_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b->id_7fdb3671_8893_4a6f_8db2_2f36fdef342b:s end_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b false_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b->end_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b id_f34b9766_0d8d_4cb9_99dd_221de1f413e9 End end_dummy_down_id_7fdb3671_8893_4a6f_8db2_2f36fdef342b->id_f34b9766_0d8d_4cb9_99dd_221de1f413e9
Count characters a
id_0b444cd5_e4d1_4045_b42a_08c8124821fc Begin id_ad6ab1c0_89df_4cc7_939e_44cfd78d5951 str id_0b444cd5_e4d1_4045_b42a_08c8124821fc:s->id_ad6ab1c0_89df_4cc7_939e_44cfd78d5951:n id_4a0a0bb2_711c_44e0_820c_537c0ac781e3 str id_ad6ab1c0_89df_4cc7_939e_44cfd78d5951:s->id_4a0a0bb2_711c_44e0_820c_537c0ac781e3:n id_01620f9d_a38e_4ae8_88e4_0fab7a06d738 count = 0 id_4a0a0bb2_711c_44e0_820c_537c0ac781e3:s->id_01620f9d_a38e_4ae8_88e4_0fab7a06d738:n id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5 i = 0 to length(str)-1 by 1 id_01620f9d_a38e_4ae8_88e4_0fab7a06d738:s->id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5:n true_dummy_up_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5 id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5:e->true_dummy_up_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5 true false_dummy_up_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5 id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5:w->false_dummy_up_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5 false id_7f077ece_4701_45c7_ad3b_cfb4d42f5602 charAt(str, i) == "a" true_dummy_up_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5->id_7f077ece_4701_45c7_ad3b_cfb4d42f5602:n false_dummy_down_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5 false_dummy_up_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5->false_dummy_down_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5 true_dummy_up_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602 id_7f077ece_4701_45c7_ad3b_cfb4d42f5602:e->true_dummy_up_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602 true false_dummy_up_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602 id_7f077ece_4701_45c7_ad3b_cfb4d42f5602:w->false_dummy_up_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602 false id_7d97d539_f65a_433c_a977_065733bc28e1 count = count+1 true_dummy_up_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602->id_7d97d539_f65a_433c_a977_065733bc28e1:n false_dummy_down_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602 false_dummy_up_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602->false_dummy_down_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602:n true_dummy_down_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602 id_7d97d539_f65a_433c_a977_065733bc28e1:s->true_dummy_down_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602:n end_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602 true_dummy_down_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602->end_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602 false_dummy_down_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602->end_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602 true_dummy_down_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5 end_id_7f077ece_4701_45c7_ad3b_cfb4d42f5602:s->true_dummy_down_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5:n true_dummy_down_left_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5 true_dummy_down_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5->true_dummy_down_left_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5 true_dummy_down_left_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5->id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5:s end_dummy_down_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5 false_dummy_down_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5->end_dummy_down_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5 id_ad7f399d_e9aa_459d_b3da_8362c6af670e "Number of 'a' is " + count end_dummy_down_id_038994d1_5f73_4021_a9ae_7cba1d8b2ef5->id_ad7f399d_e9aa_459d_b3da_8362c6af670e id_e9d801be_2acf_4367_8f6c_bb90db5d992f End id_ad7f399d_e9aa_459d_b3da_8362c6af670e:s->id_e9d801be_2acf_4367_8f6c_bb90db5d992f:n
CodeExploreLearnLog In