by @Joshua Shackoor Fork
{"functions":[{"rawId":"id_ffa1bddc_0347_4747_8770_681564a7ee80","tpe":"Void","name":"fun1","statements":[{"@type":"Begin","id":"id_84a70b97_9552_4c6a_a2bc_9e12cb95b57d"},{"@type":"Return","id":"id_08fed69f_3404_4ccd_9744_176c598e730a","maybeValue":null}],"parameters":[]}],"name":"Meal Total","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_ed6a279f_d026_4d1b_86d6_96e25dc7d556"},{"@type":"Comment","id":"id_415bdf67_444e_4e97_92d2_65c6308693de","text":"enter meal amount"},{"@type":"Declare","tpe":"Integer","name":"foodCharge","id":"id_38b27dbd_094a_4878_bf52_a5c967009c9d","initValue":null},{"@type":"Declare","tpe":"Real","name":"tip","id":"id_f8ac6485_855b_4e99_8626_db78b7ab582f","initValue":"0.15"},{"@type":"Declare","tpe":"Real","name":"tax","id":"id_df751592_539f_4ac9_91b8_747510cdb8dd","initValue":"0.07"},{"@type":"Input","name":"foodCharge","id":"id_b860212e_c4a1_4790_a3fc_785aa0bc8741","prompt":null},{"newline":true,"@type":"Output","id":"id_9049b4f3_08f9_4aa4_850a_798ba4855eb0","value":"\"15% Tip\""},{"newline":true,"@type":"Output","id":"id_65b54bc4_ab20_4c74_a668_2c25715e165b","value":"(foodCharge*tip)"},{"@type":"Declare","tpe":"Real","name":"tip2","id":"id_f2e27f35_8df7_4c02_85a1_f37109165c6c","initValue":"(foodCharge*tip)"},{"newline":true,"@type":"Output","id":"id_1279460c_cc90_4ebe_8d7f_602f30a2e817","value":"\"Sales Tax\""},{"newline":true,"@type":"Output","id":"id_b6aefb8d_df6a_4a7e_a704_c010d1409285","value":"(foodCharge*tax)"},{"@type":"Declare","tpe":"Real","name":"tax2","id":"id_c268dfdd_4303_4951_8ae2_08bb497585ee","initValue":"(foodCharge*tax)"},{"newline":true,"@type":"Output","id":"id_1ecb303c_4e96_4a60_b206_f7ac8e3cac01","value":"\"Final Total\""},{"newline":true,"@type":"Output","id":"id_b5f238d5_7fad_409d_8480_e2046771508f","value":"(foodCharge+tip2+tax2)"},{"@type":"Return","id":"id_e00a6da2_c08c_4e83_92e6_f18b46c4027f","maybeValue":null}],"parameters":[]},"id":"id_e686458a_0eb7_48d9_884b_5e614c56c01e","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":482}