File tree Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Original file line number Diff line number Diff line change 1+ # HW1 — Displaying Text
2+
3+ ## Objective
4+ Write a program that outputs the ** exact same text** as shown below.
5+
6+ ---
7+
8+ ### Example Output
9+ ![ Expected Output] ( https://github.com/user-attachments/assets/df6e40ff-6da7-4b79-8681-d1f66eea5c07 )
10+
11+ ---
12+
13+ ### Example
14+ ![ Example Program] ( https://github.com/user-attachments/assets/54f1f91b-0262-471f-9040-a6bc2b941570 )
15+
16+ ---
17+
18+ ## Today’s Homework — * Very Important!*
19+
20+ 1 . You can use ** any editor** to write your program.
21+ However, the program ** must be able to compile and run** on the environment specified (see next slide for details).
22+ Please ** test your code** before submission.
23+
24+ 2 . If the program ** cannot compile** , it will receive a ** score of 0** ,
25+ regardless of the reason (e.g., “it works on my computer” will not be accepted).
26+
27+ ---
28+
29+ ## Turning In Your Homework
30+
31+ ### File Naming
32+ Use the following format for your submission:
33+
34+ ```
35+ HomeworkID.c
36+ ```
37+
38+ ** Example:**
39+ ```
40+ hw3-1.c
41+ ```
42+
43+ * (You can find your HomeworkID in the top-right corner of the homework slides.)*
44+
45+ ---
46+
47+ ## Testing
48+
49+ - Two test cases will be released for each homework.
50+ - Your program’s output must ** exactly match** the expected output, including:
51+ - Spacing
52+ - Capitalization
53+ - Line breaks (` \n ` )
54+
55+ ---
56+
57+ ### Sample Test Output Format
58+ ![ Test Case Example] ( https://github.com/user-attachments/assets/ad0afa8c-98ec-4d13-bc72-cd38272780c9 )
59+
60+ ---
61+
62+
You can’t perform that action at this time.
0 commit comments