Add exercises
This commit is contained in:
parent
c09145a0f5
commit
30512d0ee1
6 changed files with 16 additions and 0 deletions
BIN
c_modern_approach/Fundamentials/exercises/2_1
Executable file
BIN
c_modern_approach/Fundamentials/exercises/2_1
Executable file
Binary file not shown.
BIN
c_modern_approach/Fundamentials/exercises/2_4
Executable file
BIN
c_modern_approach/Fundamentials/exercises/2_4
Executable file
Binary file not shown.
3
c_modern_approach/Fundamentials/exercises/s_2_1.c
Normal file
3
c_modern_approach/Fundamentials/exercises/s_2_1.c
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(void) { printf("hello, world\n"); }
|
0
c_modern_approach/Fundamentials/exercises/s_2_2.c
Normal file
0
c_modern_approach/Fundamentials/exercises/s_2_2.c
Normal file
13
c_modern_approach/Fundamentials/exercises/s_2_4.c
Normal file
13
c_modern_approach/Fundamentials/exercises/s_2_4.c
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
int main(void) {
|
||||||
|
float float_var_1, float_var_2, float_var_3;
|
||||||
|
int int_var;
|
||||||
|
printf("%f\n", float_var_1);
|
||||||
|
printf("%f\n", float_var_2);
|
||||||
|
printf("%f\n", float_var_3);
|
||||||
|
printf("%d", int_var);
|
||||||
|
|
||||||
|
int _100_bottles;
|
||||||
|
int one____hundred_bottles;
|
||||||
|
int bottles_;
|
||||||
|
}
|
0
c_modern_approach/Fundamentials/exercises/s_2_7.c
Normal file
0
c_modern_approach/Fundamentials/exercises/s_2_7.c
Normal file
Loading…
Reference in a new issue