Question: Question no 3 (solve in swift ) Create a function fetchUserEmail and send the userID as parameter. Create 8 users and check the id with
Question no 3 (solve in swift )
- Create a function fetchUserEmail and send the userID as parameter. Create 8 users and check the id with its email. Print the email when the id matches.
- Create a program and give options to user to display student record.
user selects A The program should display names of 10 students,
user selects B The program should display gpa of 10 students,
user selects C The program should display name, gpa & roll no of 10 students. (use structures).
Select the student with highest gpa and display it as
The topper of class is: name with gpa of
Question 4
- Create a program for a reader. If the reader enters page number of a book the program will show page number along with title of the page where
Page1: contents of book
Page2-4: introduction
Page4: chapter 1
Page30: chapter 2
Page31: chapter 2 swift tutorials
Page40-150: main title: tutorials and second title tutorial number (page 40-50 tutorial 1, page 51-85 tutorial 2, page 86-120 tutorial 3 & page 120-150 tutorial 4)
(main heading: swift programming tutorials)
(sub heading: tutorial 1)
- Consider the above question of book. Print 100 copies of that book as well and set the name of the book and author name of the book as:
Book title: swift for beginners , book author: paul
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
