by @MUSTANSAR HUSSAIN Fork
{"functions":[],"name":"Right Triangle","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_b7b0cd87_ef31_4f84_ac58_3f288b383050"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"a","lengthValue2":"5","id":"id_75288209_ed9b_4b90_b755_6c9c7b35d1ee","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"b","lengthValue2":"5","id":"id_ef3ca128_1edb_4609_84ac_dfd7119c490e","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"c","lengthValue2":"5","id":"id_4c0c560b_dd64_42e3_849a_e890eb92f881","initValue":null},{"@type":"Input","name":"a","id":"id_cd1a08f1_1a05_4ff4_994c_3105e28265c9","prompt":"Please enter the length of first side:"},{"@type":"Input","name":"b","id":"id_20bdefe4_971a_40ea_bf39_3366aeaca2c9","prompt":"Please enter the length of 2nd side:"},{"@type":"Input","name":"c","id":"id_52ebf7e9_6a90_482a_aa6c_ef02077939e4","prompt":"Please enter the length of 3rd side:"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b916f60b_8fd7_4183_91f6_872dc5c59905","value":"\" These are not the sides of a triangle\""}],"id":"id_e6d3bca3_5d52_4331_bf75_579fd79850a9"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4466edc0_0a53_47d8_bc17_da075e2f65ef","value":"\"The given triangle is not a right triangle\""}],"id":"id_1b4d9d17_9231_41fc_851a_3d224575fe74"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_192e1e11_776a_44a5_905d_ccd324270de3","value":"\"The given triangle is a right triangle\""}],"id":"id_d8a1735f_fe51_4f2a_b651_4138d4e2c1c0"},"condition":"(c*c)==(a*a)+(b*b)","@type":"If","id":"id_d77c1210_3069_4cb2_88cb_0398618835db"}],"id":"id_fe61a6f6_8f41_45c3_af75_464d54a78041"},"condition":"a+b>c && b+c>a && a+c>b","@type":"If","id":"id_59c69b99_c9ef_4630_bf9c_211f0a439be9"},{"@type":"Return","id":"id_d31dd5d2_cfc5_4063_8456_9de98e3dc8e1","maybeValue":null}],"parameters":[]},"id":"id_3d6d5d88_ed1e_4062_a237_96ab61049038","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":true,"lang":"c++","showGenCode":true},"version":"0.3","revision":474}