-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAssignment1.c
More file actions
90 lines (73 loc) · 1.69 KB
/
Assignment1.c
File metadata and controls
90 lines (73 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#include <stdio.h>
int main()
{
printf("%s", "What is the difference between a ' and a \"? Or between a \" and a \\\"? \n"
"One is what we see when we're typing our program. The other is what appears on the \"console.\" ");
}
#include <stdio.h>
int main()
{
printf("/ \\ // \\\\ /// \\\\\\ ");
}
#include <stdio.h>
int main()
{
printf("////////////////////// \n"
"|| Victory is mine! || \n"
"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" );
}
#include <stdio.h>
int main()
{
printf("////////////////////// \n"
"|| Victory is mine! || \n"
"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \n"
"|| Victory is mine! || \n"
"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \n"
"|| Victory is mine! || \n"
"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \n"
"|| Victory is mine! || \n"
"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \n"
"|| Victory is mine! || \n"
"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");
}
#include <stdio.h>
int main()
{
printf("A \"quoted\" String is \n"
"'much' better if you learn \n"
"the rules of \"escape sequences.\" \n"
"Also, \"\" represents an empty String. \n"
"Don't forget: use \\\" instead of \" ! \n"
"'' is not the same as \"");
}
#include <stdio.h>
int main()
{
printf(" _______ \n"
" / \\ \n"
"/ \\ \n"
"-\"-'-\"-'-\"- \n"
"\\ / \n"
" \\_______/");
}
#include <stdio.h>
int main()
{
printf("#include \"stdio.h\" \n"
"\n"
"\n"
"int main(void) { \n"
"printf(\"Hello World\\n\");\n"
"return 0;\n"
"}");
}
#include <stdio.h>
int main()
{
printf("There's one thing every coder must understand: \n"
"The printf command.\n"
"\n"
"There's one thing every coder must understand: \n"
"The printf command.");
}