Skip to content

Commit cf0b9a5

Browse files
Initial commit
0 parents  commit cf0b9a5

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

README.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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+

0 commit comments

Comments
 (0)