2.2P.pdf - Faculty of Science Engineering and Technology...

This preview shows page 1 - 2 out of 4 pages.

Faculty of Science, Engineering and Technology Introduction to Programming Pass Task 2.2: Hello User Overview Now that we have variables we can create a program that reads in the users name from the Terminal and echoes back a welcome message. Submission Details You must submit the following files to Doubtfire: Hello User source code (HelloUser.pas) Screenshot of the Terminal showing the execution of your Hello User program. Make sure that your task has the following in your submission: The program must read the required details from the user, and respond correctly Code must follow the Pascal coding convention used in the unit (layout, and use of case). The code must compile and the screenshot show it working. Your program must have a procedure for Main. Your program must have the indicated local variables, and use them appropriately. Purpose: Learn how to declare variables, assign them values, and read them in expressions. Task: Use the instructions on the following pages to create your own Hello User program. Submit to Doubtfire when complete. Time: This task should be completed in your lab class and submitted for feedback before the start of week 3.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture