Question: IOS Programming Programming Exercises1. Suppose that the last two digits of a student ID number indicate the students major, and that the following is a

IOS Programming

Programming Exercises1. Suppose that the last two digits of a student ID number indicate the students major, and that the following is a list of sample student ID numbers: JHGUS01, PHYBO02,GFIKH98, JGFTB54, RBWKG87, and HGTVN77. Write a program that prints an ID number and major for each student. Here is the list of major codes:

01 Undecided

02 English

03 Biochemistry

98 Chemistry

54 Economics

87 Computer Science

77 Mathematic

Programming Exercise 2. Create a NSArray containing the following names: John, Bella, Stephanie, Leonardo, Michelangelo, Tom, Brad. All of these students have recently been awarded their doctorates. Update this array so that the word Dr. is prefixed to the namesfor example, Dr. John, Dr. Bella, and so on. Print this array.

Submission

Submit main.m files from both Programing Exercises along with screenshots of results.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!