by @meradiayoub Fork
{"functions":[],"name":"Swap Two Numbers","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_23ebb90d_b848_4d4c_bd4c_01b1a15d64da"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"n1","lengthValue2":"5","id":"id_2a3c5df3_4ac4_4bd2_850a_5a04285049f3","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"n2","lengthValue2":"5","id":"id_dbdedae3_3b60_4db9_b44d_c87847539c59","initValue":null},{"newline":true,"@type":"Output","id":"id_52da4504_fccf_43ec_b5f5_fe65c61f0d48","value":"\"input the value of the first number (n1) :\""},{"@type":"Input","name":"n1","id":"id_fb4e3dbe_395a_4d84_b1e9_3c1ca2eafaa6","prompt":null},{"newline":true,"@type":"Output","id":"id_7b5f94d6_1e31_4938_b313_21c19b98df63","value":"\"input the value of the second number (n2) : \""},{"@type":"Input","name":"n2","id":"id_60330aa2_d7d3_4752_b766_8f7746282837","prompt":null},{"newline":true,"@type":"Output","id":"id_0ac2a739_e2f6_4907_b93f_dbca396cbc17","value":"\"before the swap : first number = \"+n1+\", Second Number = \"+n2"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"temp","lengthValue2":"5","id":"id_7d9f1dfe_2d87_4743_b302_d99cb509bdff","initValue":"n1"},{"@type":"Assign","name":"n1","id":"id_182ab3da_7292_4cc4_893f_2ddf32a16708","value":"n2"},{"@type":"Assign","name":"n2","id":"id_a044e1a0_9f63_4783_b00b_74396fe25534","value":"temp"},{"newline":true,"@type":"Output","id":"id_fa71c1b5_02c0_4b4b_9659_5c45dd4b71eb","value":"\"After the Swap : first number :\"+n1+\", second number :\"+n2"},{"@type":"Return","id":"id_b445cd46_600a_4d5b_8e2a_c131892411f7","maybeValue":null}],"parameters":[]},"id":"id_d4957ae4_5cd6_4559_aec4_c09d3f37a431","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"c","showGenCode":true},"version":"0.3","revision":423}