0% found this document useful (1 vote)
162 views2 pages

Assignment 1

The document provides instructions for an assignment to write a C# console program that performs eligibility assessment for students applying to Lambton College. The program asks the user for their full name, date of birth, and highest education degree to determine if they are eligible for undergraduate or postgraduate programs.

Uploaded by

Manjinder Judge
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
162 views2 pages

Assignment 1

The document provides instructions for an assignment to write a C# console program that performs eligibility assessment for students applying to Lambton College. The program asks the user for their full name, date of birth, and highest education degree to determine if they are eligible for undergraduate or postgraduate programs.

Uploaded by

Manjinder Judge
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

CSD 2354 Programming C#

.NET

Assignment 1 (5%)

Instruction: Submit your answer in zipped folder include solution file and project file.

Write a C# console program that perform eligibility assessment for students before
applying to Lambton College. The program structure is as bellow:
Q: What is your full name?
User will enter his/her full name
Then, display “Hello, full name”
Q: What is your date of birth?
User will enter his/her date of birth
If user age below 16
Display a message “Sorry, you can’t enroll in Lambton College. Kindly, consider
applying to another program”
If the user entered string or number instead of date
Then, display a message “please enter a date format”
If user age above 16
Then, proceed with coming question
Q: What is highest education degree you have attained?
If user entered high school, then display a message “You are qualified for
Undergraduate degree”
If user entered Undergraduate degree, then, display a message “You are qualified for
postgraduate degree”
If user entered different string, repeat the question and display extra a message you
may only enter high school or Undergraduate degree in this field.

© 2018 LAMBTON COLLEGE IN TORONTO


CSD 2354 Programming C#
.NET

© 2018 LAMBTON COLLEGE IN TORONTO

You might also like