Can you bring law and order to this piece of code?

Jun 7, 2019 at 3:10pm
- case credit, debit
- }
- enum Card: String {
- var description: String {
- return self.rawValue
- }
- var C = Card.credit
- print(c.description)


Last edited on Jun 7, 2019 at 3:17pm
Jun 7, 2019 at 3:38pm
This code appears to be something that isn't C++.
Jun 7, 2019 at 3:39pm
It's Swift.
Topic archived. No new replies allowed.