by @GlitchieGhost Studio Fork
{"functions":[],"name":"Lab1.6","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_83f15d37_1fb1_409c_935d_fdd6e74606e8"},{"@type":"Comment","id":"id_3ac61704_5b77_4db2_af88_f15be87794f1","text":"declare variables"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Steps","lengthValue2":"5","id":"id_0c136823_d030_4249_969d_53da1b12dcc7","initValue":"0.0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Miles","lengthValue2":"5","id":"id_f608ecc5_bdd2_4e64_b65e_fc3f181f425b","initValue":"0.0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Cals","lengthValue2":"5","id":"id_87b5238f_f8dc_45e6_9806_f3a8005486b6","initValue":"0.0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"DOTW","lengthValue2":"5","id":"id_b3c65127_77bd_474f_b41e_a7e424e63415","initValue":"\"\""},{"@type":"Comment","id":"id_d611b83a_da9c_4332_989b_3fec6478750f","text":"gather input"},{"newline":true,"@type":"Output","id":"id_15aebf94_b956_4dcc_9fe9_a1ce2092c070","value":"\"What day of the week do you want to input? \""},{"@type":"Input","name":"DOTW","id":"id_f3688397_e2ae_4457_a6c9_5ce81145efc4","prompt":null},{"newline":true,"@type":"Output","id":"id_c2be126c_6da1_46b9_80ed_aebb76723da8","value":"\"How many steps did you walked?\""},{"@type":"Input","name":"Steps","id":"id_eecf5b75_8f85_40e1_a42a_78163eeada83","prompt":null},{"@type":"Comment","id":"id_11a5b078_8730_45b1_b3b5_f57284919e1d","text":"calculate inputs"},{"@type":"Assign","name":"Miles","id":"id_ddd95402_301a_4bc8_aaa9_7ee155f99fb0","value":"Steps / 2000"},{"@type":"Assign","name":"Cals","id":"id_8d3b3ed2_e282_492a_94bf_8a5ca91f0680","value":"Miles * 65"},{"@type":"Comment","id":"id_9df8e5ef_ba7f_489b_a0c8_0eeaaa5b91cc","text":"outputs calculations"},{"newline":true,"@type":"Output","id":"id_30e42e43_bb3c_4cd6_8410_a86cc6de9da3","value":"\"You walked \" + Miles + \" miles on \" + DOTW + \", and lost \" + Cals + \" calories.\""},{"@type":"Return","id":"id_55d33c58_95fd_476b_8e7c_7e9b75cc9d48","maybeValue":null}],"parameters":[]},"id":"id_52c33cd3_f8d9_44bb_b667_e5b52f27b3bf","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":398}