Skip to content
Permalink
Browse files
changed the logic to make the data more accurate( more accurate calor…
…ie count for the exercises)
  • Loading branch information
varun committed Dec 3, 2020
1 parent 76231b8 commit a8cd10a50d7d2e2fcf98d2e48eeb40911d807bd3
Showing 1 changed file with 2 additions and 2 deletions.
@@ -145,8 +145,8 @@ extension GeneratorDisplay {
func generateWorkout(_ cal:Int) -> Array<String> {

var calorie = cal
let exercises = [11:"Jumping Jacks", 12: "Jogging", 10: "Cycling", 5: "Squats", 9: "Skipping"]
let key = [11,12,10,5,9]
let exercises = [11:"Jumping Jacks", 12: "Jogging", 10: "Cycling", 8: "Squats", 16: "Skipping"]
let key = [11,12,10,8,16]

//ARRAY OF ALL EXERCISES
var aList = [String]()

0 comments on commit a8cd10a

Please sign in to comment.