The document provides instructions for Workshop #1, which is due on July 1st, 2022. It consists of two parts worth 30% and 70% respectively. Part 1 involves creating a C program to display a welcome message. Part 2 requires writing a program that takes in an even integer, calculates the sum of odd integers up to that number, calculates the factorial of the number, and calculates the sum of all integers up to that number. Students must include their full name and source code in all files and are allowed to comment on what they have learned in the code. Late submissions will not be accepted.
The document provides instructions for Workshop #1, which is due on July 1st, 2022. It consists of two parts worth 30% and 70% respectively. Part 1 involves creating a C program to display a welcome message. Part 2 requires writing a program that takes in an even integer, calculates the sum of odd integers up to that number, calculates the factorial of the number, and calculates the sum of all integers up to that number. Students must include their full name and source code in all files and are allowed to comment on what they have learned in the code. Late submissions will not be accepted.
The document provides instructions for Workshop #1, which is due on July 1st, 2022. It consists of two parts worth 30% and 70% respectively. Part 1 involves creating a C program to display a welcome message. Part 2 requires writing a program that takes in an even integer, calculates the sum of odd integers up to that number, calculates the factorial of the number, and calculates the sum of all integers up to that number. Students must include their full name and source code in all files and are allowed to comment on what they have learned in the code. Late submissions will not be accepted.
• A simple C Program implementing standard output and simple operation
• Using Dev-C++ for making program, edit, debug, and execute c-language • To describe to your instructor what you have learned in completing this workshop (if any by comment inside code) • Upload source code file to CMS system on due date
Submit policy:
• Workshop#1 is due date on 7/1/2022(Friday), particular the deadline is end of 8/1/2022 by
23:59 (VietNam zone time) • Late submission will not be accepted and mark will be Zero.
All file you create or modify must contain following two pieces of information:
✓ Full name (Student number)
✓ Source code (file .exe, file .c or .cpp)
Part-1(30%)
Create a C program that display to the standard output:
*Welcome to the PRF192 course*
Note: highlighted in yellow color are to be printed
Part-2(70%)
Write a program that performs the following works:
1. Input integer even number n. 2. Calculate S1 = 1 + 3 + ... + (n+1) 3. Calculate S = n! 4. Calculate S2 =1+ + +...+