{"functions":[],"name":"23R.K.AfrizhaXRPL4_calculator","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_875ca96b_3fe3_4f04_b9fa_5aeddfcfa6aa"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"a","lengthValue2":"5","id":"id_4b921fe3_4eca_4d60_be7a_1a0b19db810c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"b","lengthValue2":"5","id":"id_b48a2f49_9ffe_4969_b253_10b189a5f3ed","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"operator","lengthValue2":"5","id":"id_0d1d0c1b_137e_4932_9630_e0c6a84f2b63","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"result","lengthValue2":"5","id":"id_e69f3c05_598e_42e1_9ac2_0ea9e3d4e513","initValue":"0"},{"newline":true,"@type":"Output","id":"id_ad1b9684_993b_4445_9a06_fd1762bb3fed","value":"\"Enter first number:\""},{"@type":"Input","name":"a","id":"id_73948d16_22a8_44c5_a425_d79b60871f61","prompt":null},{"newline":true,"@type":"Output","id":"id_a4d50723_ad70_44b2_b5e4_a004ff80ba15","value":"\"Enter operator (+, -, *, /):\""},{"@type":"Input","name":"operator","id":"id_643cd6e5_aa7b_4cdd_842a_73f396f8aaf2","prompt":null},{"newline":true,"@type":"Output","id":"id_90eaf831_2904_42e1_a5eb_098ab1a8d747","value":"\"Enter second number:\""},{"@type":"Input","name":"b","id":"id_4f46d880_db20_4a8e_bc49_0b9891530424","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_f5d8bfdf_112a_4545_b106_f8d8841d2aff","value":"\"Invalid operator\""}],"id":"id_ad1baa18_4d4f_46e5_b6c8_e4482f3eeac1"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_609dda59_ae3b_4b13_8af6_2d08adb93126","value":"\"Error: cannot divide by zero\""}],"id":"id_a96e8e93_8c26_45eb_a589_46f99a0b09f4"},"trueBlock":{"statements":[{"@type":"Assign","name":"result","id":"id_1d9e850b_6c7d_4591_831b_8e3cf8ea4195","value":"a / b"},{"newline":true,"@type":"Output","id":"id_bbdcb9d8_72e7_4b29_8003_cb2aba80de5e","value":"result"}],"id":"id_81025bc6_98c1_40fe_8048_2e480e03ca9a"},"condition":"b != 0","@type":"If","id":"id_4f31672e_e97a_4a94_ac48_04800e344bc0"}],"id":"id_8c337a23_47e4_4255_9165_9a7b63eadb94"},"condition":"operator == \"/\"","@type":"If","id":"id_049dfd26_f0eb_486b_a913_9f2a411d15d7"}],"id":"id_e2d0826d_c305_43b7_aab9_b291269b99a8"},"trueBlock":{"statements":[{"@type":"Assign","name":"result","id":"id_2bbc35c7_1e92_473a_b011_492a63fe9e8e","value":"a * b"},{"newline":true,"@type":"Output","id":"id_b0ef1dbf_d8f5_49b4_8eb0_0b3cefd68e59","value":"result"}],"id":"id_a28278c2_5124_4967_a315_5f2d0e1bef5b"},"condition":"operator == \"*\"","@type":"If","id":"id_a99138f0_d78c_4f57_a37a_32e6f20f6bb2"}],"id":"id_0cb780d7_2561_47b4_a914_65350463d5d3"},"trueBlock":{"statements":[{"@type":"Assign","name":"result","id":"id_7505c88a_125c_475b_84a8_63cb59ffe3cb","value":"a - b"},{"newline":true,"@type":"Output","id":"id_fbc23a34_6578_4d06_9b81_b7cdf730201c","value":"result"}],"id":"id_08e34380_a91d_4c26_83fd_83ef3c0faeca"},"condition":"operator == \"-\"","@type":"If","id":"id_72853cef_ee13_429b_9e76_d3b11d6e0454"}],"id":"id_2f53f5da_eef0_4124_bc3f_aec32a757cc8"},"trueBlock":{"statements":[{"@type":"Assign","name":"result","id":"id_a85f2600_464f_4632_8f51_da4152bb21b4","value":"a + b"},{"newline":true,"@type":"Output","id":"id_edbb7614_c53b_4353_baed_8c7512efed1b","value":"result"}],"id":"id_a9b85fb9_ce1f_4eef_992b_1ec3522c39cb"},"condition":"operator == \"+\"","@type":"If","id":"id_3286b68c_91a7_4a36_bbd0_a4484e2c93c5"},{"@type":"Return","id":"id_ac27dbc2_9a5f_4e99_944a_fd0f031fd95b","maybeValue":null}],"parameters":[]},"id":"id_850511a1_5b29_4f79_a595_1a2c5cbb4a86","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":true,"lang":"c++","showGenCode":true},"version":"0.2","revision":121}