by @Zaiyan Khan Fork
{"functions":[],"name":"Volume of a cone","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_e8a3e388_542b_49ee_ad05_8de5597b72c4"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"num1","lengthValue2":"5","id":"id_ddb0894c_af33_4cde_85e3_0aaba16ca029","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"num2","lengthValue2":"5","id":"id_3049e744_0b3f_424b_ab4d_46f9dc768b00","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"volume","lengthValue2":"5","id":"id_25addca0_0e37_4aa1_be2f_db69a7c72c88","initValue":null},{"newline":true,"@type":"Output","id":"id_83bfd779_582c_4e7a_b666_bed4631d253d","value":"\"Enter the radius of the cone\""},{"@type":"Input","name":"num1","id":"id_04263ec1_93cb_4303_b27b_28118923384d","prompt":null},{"newline":true,"@type":"Output","id":"id_6066a100_c8b2_45e5_9ba9_ed81d118266b","value":"\"Enter the height of the cone\""},{"@type":"Input","name":"num2","id":"id_e09bbe70_d3fe_4a66_aaca_e4f247adfa5c","prompt":null},{"@type":"Assign","name":"volume","id":"id_4849b8b7_fc5e_497e_8720_73e92979780e","value":"3.142*(num1*num1) *(num2/3)"},{"newline":true,"@type":"Output","id":"id_2b4a3736_8a56_4706_a030_6c7a7b8ce71c","value":"\"The volume of the cone is: \" + volume"},{"@type":"Return","id":"id_2b0c50fe_b9be_4346_8345_ba4cc6b300bb","maybeValue":null}],"parameters":[]},"id":"id_3cd5032e_e028_4fbe_bafe_6c29221e2707","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":265}