Question: I need this IN SWIFT CODE For your first lab, I want you to make a small bit of code showing the following items: Create
I need this IN SWIFT CODE
For your first lab, I want you to make a small bit of code showing the following items:
Create a variable called "name" and give it the value of your name
Create a variable called 'age" and give it your age
Create a variable called "ten" and give it a value of 10
Create a variable called "newAge" and make it add 10 to the "age" variable
Create a variable called 'homeTown" and give it the name of your hometown city
Create a variable called "school" and give it a value of Stark State
Create a variable called "major" and give it a value of your majors name (you can shorten it)
Now using these variables, have them print out in a sentence like this:
Hello, my name is XXXXXX and I am XXXXX years old. I live in XXXXXX and go to school at XXXXXX. My major is XXXXX and I hope to graduate before I am XXXX years old, LOL.
When you are done, take a screenshot of the code and submit it in the dropbox. I would prefer to see the sentence printed out on the screen showing the variable values as if you actually ran the code. If you dont know how to take a screenshot, let me know.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
