Submit your work, meet writers and drop the ads. Become a member
May 2021
public struct Love {
    private enum Person {
        case female
        case male
        case other(_ type:String)
    }

    public let people:[Person]
    private var loveAmount:Int

    public init(people:[Person]) {
        self.people = people
        loveAmount = 0
    }

    public mutating func moreLoveForEachOther(addedLove:Int) {
        loveAmount += addedLove
    }
}
(this is a Swift programming structure)
nicetomeetyou
Written by
nicetomeetyou  13/F
(13/F)   
86
     Hooria Iftikhar and Leone Lamp
Please log in to view and add comments on poems