Swift - Write program to Create a structure to store the information of a student

Requirements

Write program to Create a structure to store the information of a student

The structure needs to be able to store the following information:

  • Student ID (String )
  • Student Name (String )
  • Date of birth (DOB [from question #1])

Hint

struct Student {
    var ID: String
    var name: String
    var dob: DOB
}

Related Exercise