This commit is contained in:
feng-arch 2024-12-18 10:13:36 +08:00
commit cfe99c1caa
7 changed files with 31 additions and 0 deletions

BIN
pre-study_phase/2024_11_06/Q1/ex1 Executable file

Binary file not shown.

View File

@ -0,0 +1,9 @@
#include <stdio.h>
int main(int argc, char* argv[])
{
puts("Hello, world!");
for(int i=0;i<5;i++){
puts("hello");
}
return 0;
}

View File

@ -0,0 +1,5 @@
CFLAGS=-Wall -g
clean:
rm -rf ex1
ex1:
cc ex1.c -o ex1

BIN
pre-study_phase/2024_11_06/Q2/ex1 Executable file

Binary file not shown.

View File

@ -0,0 +1,9 @@
#include <stdio.h>
int main(int argc, char* argv[])
{
puts("Hello, world!");
for(int i=0;i<5;i++){
puts("hello");
}
return 0;
}

BIN
pre-study_phase/2024_12_18/Q3/ex3 Executable file

Binary file not shown.

View File

@ -0,0 +1,8 @@
#include <stdio.h>
int main(){
int age = 10;
int height = 72;
printf("I am %d years old.\n");
printf("I am %d inches tall.\n", height);
return 0;
}