add Q3
This commit is contained in:
commit
cfe99c1caa
BIN
pre-study_phase/2024_11_06/Q1/ex1
Executable file
BIN
pre-study_phase/2024_11_06/Q1/ex1
Executable file
Binary file not shown.
9
pre-study_phase/2024_11_06/Q1/ex1.c
Normal file
9
pre-study_phase/2024_11_06/Q1/ex1.c
Normal 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;
|
||||
}
|
||||
5
pre-study_phase/2024_11_06/Q2/Makefile
Normal file
5
pre-study_phase/2024_11_06/Q2/Makefile
Normal 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
BIN
pre-study_phase/2024_11_06/Q2/ex1
Executable file
Binary file not shown.
9
pre-study_phase/2024_11_06/Q2/ex1.c
Normal file
9
pre-study_phase/2024_11_06/Q2/ex1.c
Normal 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
BIN
pre-study_phase/2024_12_18/Q3/ex3
Executable file
Binary file not shown.
8
pre-study_phase/2024_12_18/Q3/ex3.c
Normal file
8
pre-study_phase/2024_12_18/Q3/ex3.c
Normal 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;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user