Your task is to create a program that can achieve the above requirements when given the students surname, first name and three digit postfix through CMD arguements
The Namibia University of Science and Technology would like to introduce an automated student number and email generation system. The system takes into consideration the following:
a) To generate the student number it takes three letters(the first, middle and last letter) of the student’s surname and adds it to the first three letters from the first name, then finally adds a three digit postfix number.
b) To generate the email is quite easy it just takes the first letter from the first name and adds it to the surname , then it adds the @students.nust.na postfix
Your task is to create a program that can achieve the above requirements when given the students surname, first name and three digit postfix through CMD arguements
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images