n this task you are required to writ generates the student university ID based on his registration information like his first name, last name, school and year of admission and code that sequence number. all this information are stored n the student file. The name of the student file should be entered by the user. The information in the student file are stored in he following order: First_name Last_name School Pear Seq The structure of the student ID is as follows: • The first three letters of the first name in upper case followed by • The school code appears as two digits.The code for each school is shown in the table below • The year which is the last two digits of the year field in the input file preceded by a 0. • The sequence number of the student as three digits. mportant Notes: • If the first name of the student is less than three letters or the first three letters have non alphabatical values then you should print "Invalid". • If the school name is not listed in the table then you should put "99" in the school code field. School Code Engineering 01 Sciences 02 Pharmacy 03 Medicine 04 Dentistry 05 1/0 Program Input: • the name of the file that has the student information Program Output: A single line that outputs the student ID
n this task you are required to writ generates the student university ID based on his registration information like his first name, last name, school and year of admission and code that sequence number. all this information are stored n the student file. The name of the student file should be entered by the user. The information in the student file are stored in he following order: First_name Last_name School Pear Seq The structure of the student ID is as follows: • The first three letters of the first name in upper case followed by • The school code appears as two digits.The code for each school is shown in the table below • The year which is the last two digits of the year field in the input file preceded by a 0. • The sequence number of the student as three digits. mportant Notes: • If the first name of the student is less than three letters or the first three letters have non alphabatical values then you should print "Invalid". • If the school name is not listed in the table then you should put "99" in the school code field. School Code Engineering 01 Sciences 02 Pharmacy 03 Medicine 04 Dentistry 05 1/0 Program Input: • the name of the file that has the student information Program Output: A single line that outputs the student ID
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Help me
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 3 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY