共计 994 个字符,预计需要花费 3 分钟才能阅读完成。
ANNOUNCEMENT
This documnet is my solution of COMP248 Assignment 1 in Fall 2019. I have submitted this file in the assignment system. Please do not copy the code directlty.
Thank you for your cooperation and comprehension.
General Guidelines When Writing Programs:
Include the following comments at the top of your source codes
// ——————————————————-
// Assignment (include number)
// Written by: (include your name and student id)
// For COMP 248 Section (your section) – Fall 2019
// ——————————————————–
• In a comment, give a general explanation of what your program does. As the programming questions get more complex, the explanations will get lengthier.
• Include comments in your program describing the main steps in your program. Focus in your comments rather on the why than the how.
• Display a welcome message.
• Display clear prompts for users when you are expecting the user to enter data from the keyboard.
• All output should be displayed with clear messages and in an easy to read format.
• End your program with a closing message so that the user knows that the program has terminated.
业务需要
正文完