Hello, I've been attempting to generate this code, but the last line returns an Expected declaration Error.
class AboutMe {
let firstName: String
let lastName: String
let age: Int
init(firstName: String, lastName: String, age: Int){
self.firstName = firstName
self.lastName = lastName
self.age = age
}
var me: String {
return "First Name: \(firstName), / Last Name: \(lastName), / Age: \(age)"
}
let myInfo = AboutMe(firstName: "NAME", lastName: "NAME", age: 10)
print(myInfo)
}