by @Mikko Rhee Fork
{"functions":[],"name":"Chapter2","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5bf15f05_3f08_4f73_baa6_02a7a746ad06"},{"@type":"Comment","id":"id_f5db01db_7edb_46de_a283_3faaf149bfae","text":"Program to calculate the total cost of online order"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"itemcost","lengthValue2":"5","id":"id_1da0bcdd_5027_4ec8_bbb6_7e1bbc242f63","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"shippingfee","lengthValue2":"5","id":"id_f79a51ca_c403_44e2_a895_24f5194a04a6","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"totalamount","lengthValue2":"5","id":"id_137bf38f_1b84_44ea_a24e_b26e7265a3ec","initValue":null},{"@type":"Comment","id":"id_c4db6fc2_c810_4723_950f_302934b55648","text":"Accept item cost and shipping fee"},{"newline":true,"@type":"Output","id":"id_4689baa2_6bdc_4b96_96bf_376d3cc60e44","value":"\"Enter item cost: \""},{"@type":"Input","name":"itemcost","id":"id_a27eb4a4_0f23_44f9_84c1_4469f7b7558e","prompt":null},{"newline":true,"@type":"Output","id":"id_2d7324d8_f4be_48ed_abe2_cc4ffb5f4e91","value":"\"Enter shipping fee: \""},{"@type":"Input","name":"shippingfee","id":"id_2ecb459d_c106_4826_8c28_8246dc08a6f0","prompt":null},{"@type":"Comment","id":"id_51a6fdbc_d6f1_4174_8263_a693ddd70c40","text":"Calculate total amoub"},{"@type":"Assign","name":"totalamount","id":"id_22b39a0e_6789_41c9_b33a_4dc2c0350142","value":"itemcost + shippingfee"},{"newline":true,"@type":"Output","id":"id_46774f70_5d11_46b8_bb6a_b26dce73bea9","value":"\"The total amount of the order is: \" + totalamount"},{"@type":"Return","id":"id_4bf9146c_58a4_4b2b_8ceb_ba127eeab183","maybeValue":null}],"parameters":[]},"id":"id_90aad4b4_f559_4025_bd28_ceeb4c17f413","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":529}