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

- case credit, debit
- }
- enum Card: String {
- var description: String {
- return self.rawValue
- }
- var C = Card.credit
- print(c.description)


Last edited on
This code appears to be something that isn't C++.
It's Swift.
Topic archived. No new replies allowed.