Question: Compiling in xcode App Exercise - Notifications Note These exercises reinforce Swift concepts in the context of a fitness tracking app. In your app, you

Compiling in xcode

Compiling in xcode App Exercise - Notifications Note These exercises reinforce Swift

App Exercise - Notifications Note These exercises reinforce Swift concepts in the context of a fitness tracking app. In your app, you may want to search for other users. This would be easier with first and last names stored separately. This is not an uncommon practice. Create firstName and lastName constants and assign them string literals representing a user's first name and last name, respectively. Create a ful LName constant that uses string concatenation to combine firstName and lastName. Print the value of ful LName. 10 Occasionally users of your fitness tracking app will beat previous goals or records. You may want to notify them when this happens for encouragement purposes. Create a new constant congratulations and assign it a string literal that uses string interpolation to create the following string: "Congratulations, steps by walking steps yesterday!" Insert fullName, previousBest and newBest where indicated. Print the value of congratulations. 19 let previousBest 14392 20 let newrBest-15125 21

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!