├── Practicals
├── Practical_01
│ ├── Practical_01_i
│ │ ├── Practical_01_i.cbp
│ │ ├── Practical_01_i.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_01_i.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ ├── Practical_01_ii
│ │ ├── Practical_01_ii.cbp
│ │ ├── Practical_01_ii.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_01_ii.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ ├── Practical_01_iii
│ │ ├── Practical_01_iii.cbp
│ │ ├── Practical_01_iii.depend
│ │ ├── Practical_01_iii.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_01_iii.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ ├── Practical_01_iv
│ │ ├── Practical_01_iv.cbp
│ │ ├── Practical_01_iv.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_01_iv.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ ├── Practical_01_v
│ │ ├── Practical_01_v.cbp
│ │ ├── Practical_01_v.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_01_v.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ ├── Practical_01_vi
│ │ ├── Practical_01_vi.cbp
│ │ ├── Practical_01_vi.depend
│ │ ├── Practical_01_vi.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_01_vi.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ ├── Practical_01_vii
│ │ ├── Practical_01_vii.cbp
│ │ ├── Practical_01_vii.depend
│ │ ├── Practical_01_vii.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_01_vii.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ └── Practical_01_viii
│ │ ├── Practical_01_viii.cbp
│ │ ├── Practical_01_viii.depend
│ │ ├── Practical_01_viii.layout
│ │ ├── bin
│ │ └── Debug
│ │ │ └── Practical_01_viii.exe
│ │ ├── main.c
│ │ └── obj
│ │ └── Debug
│ │ └── main.o
├── Practical_02
│ ├── Practical_02_i
│ │ ├── Practical_02_i.cbp
│ │ ├── Practical_02_i.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_02_i.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ ├── Practical_02_ii
│ │ ├── Practical_02_ii.cbp
│ │ ├── Practical_02_ii.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_02_ii.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ ├── Practical_02_iii
│ │ ├── Practical_02_iii.cbp
│ │ ├── Practical_02_iii.depend
│ │ ├── Practical_02_iii.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_02_iii.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ └── Practical_02_iv
│ │ ├── Practical_02_iv.cbp
│ │ ├── Practical_02_iv.depend
│ │ ├── Practical_02_iv.layout
│ │ ├── bin
│ │ └── Debug
│ │ │ └── Practical_02_iv.exe
│ │ ├── main.c
│ │ └── obj
│ │ └── Debug
│ │ └── main.o
├── Practical_03
│ ├── Practical_03.cbp
│ ├── Practical_03.depend
│ ├── Practical_03.layout
│ ├── bin
│ │ └── Debug
│ │ │ └── Practical_03.exe
│ ├── doxygen
│ │ └── doxyfile
│ ├── main.c
│ └── obj
│ │ └── Debug
│ │ └── main.o
├── Practical_04
│ ├── Practical_04_i
│ │ ├── Practical_4_i.cbp
│ │ ├── Practical_4_i.depend
│ │ ├── Practical_4_i.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_4_i.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ ├── Practical_04_ii
│ │ ├── Practical_4_ii.cbp
│ │ ├── Practical_4_ii.depend
│ │ ├── Practical_4_ii.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_4_ii.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ ├── Practical_04_iii
│ │ ├── Practical_4_iii.cbp
│ │ ├── Practical_4_iii.depend
│ │ ├── Practical_4_iii.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_4_iii.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ ├── Practical_04_iv
│ │ ├── Practical_04_iv.cbp
│ │ ├── Practical_04_iv.depend
│ │ ├── Practical_04_iv.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_04_iv.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ └── Practical_04_v
│ │ ├── Practical_04_v.cbp
│ │ ├── Practical_04_v.depend
│ │ ├── Practical_04_v.layout
│ │ ├── bin
│ │ └── Debug
│ │ │ └── Practical_04_v.exe
│ │ ├── main.c
│ │ └── obj
│ │ └── Debug
│ │ └── main.o
├── Practical_05
│ └── Practical_05.rar
├── Practical_06
│ ├── Practical_06_I
│ │ ├── Practical_05_I.cbp
│ │ ├── Practical_05_I.depend
│ │ ├── Practical_05_I.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_05_I.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ ├── Practical_06_II_A
│ │ ├── Practical_05_II_A.cbp
│ │ ├── Practical_05_II_A.layout
│ │ └── main.c
│ ├── Practical_06_II_B
│ │ ├── Practical_05_II_B.cbp
│ │ ├── Practical_05_II_B.depend
│ │ ├── Practical_05_II_B.layout
│ │ ├── bin
│ │ │ └── Debug
│ │ │ │ └── Practical_05_II_B.exe
│ │ ├── main.c
│ │ └── obj
│ │ │ └── Debug
│ │ │ └── main.o
│ └── Practical_06_II_C
│ │ ├── Practical_05_II_C.cbp
│ │ ├── Practical_05_II_C.depend
│ │ ├── Practical_05_II_C.layout
│ │ ├── bin
│ │ └── Debug
│ │ │ └── Practical_05_II_C.exe
│ │ ├── main.c
│ │ └── obj
│ │ └── Debug
│ │ └── main.o
├── Practical_07
│ └── Practical_07_i
│ │ ├── Practical_07_i.cbp
│ │ ├── Practical_07_i.depend
│ │ ├── Practical_07_i.layout
│ │ ├── bin
│ │ └── Debug
│ │ │ └── Practical_07_i.exe
│ │ ├── main.c
│ │ └── obj
│ │ └── Debug
│ │ └── main.o
└── Practical_08
│ ├── Practical_08_i
│ ├── Practical_07_i.cbp
│ ├── Practical_07_i.layout
│ ├── bin
│ │ └── Debug
│ │ │ └── Practical_07_i.exe
│ ├── main.c
│ └── obj
│ │ └── Debug
│ │ └── main.o
│ ├── Practical_08_ii
│ ├── Practical_08_ii.cbp
│ ├── Practical_08_ii.layout
│ ├── bin
│ │ └── Debug
│ │ │ └── Practical_08_ii.exe
│ ├── main.c
│ └── obj
│ │ └── Debug
│ │ └── main.o
│ ├── Practical_08_iii
│ ├── Practical_08_iii.cbp
│ ├── Practical_08_iii.layout
│ ├── bin
│ │ └── Debug
│ │ │ └── Practical_08_iii.exe
│ ├── main.c
│ └── obj
│ │ └── Debug
│ │ └── main.o
│ ├── Practical_08_iv
│ ├── Practical_08_iv.cbp
│ ├── Practical_08_iv.layout
│ ├── bin
│ │ └── Debug
│ │ │ └── Practical_08_iv.exe
│ ├── main.c
│ └── obj
│ │ └── Debug
│ │ └── main.o
│ ├── Practical_08_v
│ ├── Practical_08_v.cbp
│ ├── Practical_08_v.layout
│ ├── bin
│ │ └── Debug
│ │ │ └── Practical_08_v.exe
│ ├── main.c
│ └── obj
│ │ └── Debug
│ │ └── main.o
│ ├── Practical_08_vi
│ ├── Practical_08_vi.cbp
│ ├── Practical_08_vi.layout
│ ├── bin
│ │ └── Debug
│ │ │ └── Practical_08_vi.exe
│ ├── main.c
│ └── obj
│ │ └── Debug
│ │ └── main.o
│ ├── Practical_08_vii
│ ├── Practical_08_vii.cbp
│ ├── Practical_08_vii.depend
│ ├── Practical_08_vii.layout
│ ├── bin
│ │ └── Debug
│ │ │ └── Practical_08_vii.exe
│ ├── main.c
│ └── obj
│ │ └── Debug
│ │ └── main.o
│ └── Practical_08_viii
│ ├── Practical_08_viii.cbp
│ ├── Practical_08_viii.layout
│ └── main.c
└── README.md
/Practicals/Practical_01/Practical_01_i/Practical_01_i.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_i/Practical_01_i.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_i/bin/Debug/Practical_01_i.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_i/bin/Debug/Practical_01_i.exe
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_i/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | int main()
3 | {
4 | printf("My name is Hettige Arvin Premathilake. \n");
5 | printf("My school is Royal College, Colombo 07. \n");
6 | return 0;
7 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_i/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_i/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_ii/Practical_01_ii.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_ii/Practical_01_ii.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_ii/bin/Debug/Practical_01_ii.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_ii/bin/Debug/Practical_01_ii.exe
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_ii/main.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main()
4 | {
5 | printf("*\n");
6 | printf("**\n");
7 | printf("***\n");
8 | printf("****\n");
9 | printf("*****\n");
10 | return 0;
11 | }
12 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_ii/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_ii/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_iii/Practical_01_iii.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_iii/Practical_01_iii.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1684423625 source:c:\users\arvin\documents\code blocks\practical_01\practical_01_iii\main.c
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_iii/Practical_01_iii.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_iii/bin/Debug/Practical_01_iii.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_iii/bin/Debug/Practical_01_iii.exe
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_iii/main.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main()
4 | {
5 | int integer;
6 | float flo;
7 | double dou;
8 | char chr;
9 |
10 | printf("Input Integer: ");
11 | scanf("%d",&integer);
12 | printf("Input float value: ");
13 | scanf("%f",&flo);
14 | printf("Input double value: ");
15 | scanf("%lf",&dou);
16 | printf("Enter a character: ");
17 | scanf(" %c",&chr);
18 |
19 | printf("\n");
20 | printf("You entered %c. \n", chr);
21 | printf("Integer value is %d. \n",integer);
22 | printf("Float value is %f. \n",flo);
23 | printf("Double value is %lf. \n",dou);
24 | return 0;
25 | }
26 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_iii/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_iii/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_iv/Practical_01_iv.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_iv/Practical_01_iv.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_iv/bin/Debug/Practical_01_iv.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_iv/bin/Debug/Practical_01_iv.exe
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_iv/main.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main()
4 | {
5 | int n1,n2,total;
6 | printf("Enter two numbers: ");
7 | scanf("%d,%d",&n1,&n2);
8 | total=n1+n2;
9 | printf("The total is %d.",total);
10 | return 0;
11 | }
12 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_iv/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_iv/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_v/Practical_01_v.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_v/Practical_01_v.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_v/bin/Debug/Practical_01_v.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_v/bin/Debug/Practical_01_v.exe
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_v/main.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main()
4 | {
5 | float n1,n2,avg;
6 | printf("Enter the 2 numbers: ");
7 | scanf("%f, %f",&n1,&n2);
8 |
9 | avg=(n1+n2)/2;
10 | printf("The average is %.2f",avg);
11 | return 0;
12 | }
13 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_v/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_v/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_vi/Practical_01_vi.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_vi/Practical_01_vi.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1684425590 source:c:\users\arvin\documents\code blocks\practical_01\practical_01_vi\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_vi/Practical_01_vi.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_vi/bin/Debug/Practical_01_vi.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_vi/bin/Debug/Practical_01_vi.exe
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_vi/main.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main()
4 | {
5 | int byear,age;
6 | char name[20];
7 | printf("Enter the student name: ");
8 | scanf("%s",&name);
9 | printf("Enter the birth year: ");
10 | scanf("%d",&byear);
11 | age=2023-byear;
12 | printf("%s's age is %d.",name,age);
13 | return 0;
14 | }
15 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_vi/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_vi/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_vii/Practical_01_vii.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_vii/Practical_01_vii.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1684576811 source:c:\users\arvin\documents\code blocks\practical_01\practical_01_vii\main.c
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_vii/Practical_01_vii.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_vii/bin/Debug/Practical_01_vii.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_vii/bin/Debug/Practical_01_vii.exe
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_vii/main.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main()
4 | {
5 | int n1,n2,temp;
6 | printf("Enter two numbers: ");
7 | scanf("%d,%d",&n1,&n2);
8 | printf("Before swap: %d, %d \n",n1,n2);
9 | temp=n1;
10 | n1=n2;
11 | n2=temp;
12 | printf("After swap: %d, %d \n",n1,n2);
13 | return 0;
14 | }
15 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_vii/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_vii/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_viii/Practical_01_viii.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_viii/Practical_01_viii.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1684469772 source:c:\users\arvin\documents\code blocks\practical_01\practical_01_viii\main.c
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_viii/Practical_01_viii.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_viii/bin/Debug/Practical_01_viii.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_viii/bin/Debug/Practical_01_viii.exe
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_viii/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | main()
3 | {
4 | printf("The color: %s\n", "blue");
5 | printf("First number: %d\n", 12345);
6 | printf("Second number: %04d\n", 25);
7 | printf("Third number: %i\n", 1234);
8 | printf("Float number: %3.2f\n", 3.14159);
9 | printf("Hexadecimal: %x\n", 255);
10 | printf("Octal: %o\n", 255);
11 | printf("Unsigned value: %u\n", 150);
12 | printf("Just print the percentage sign %%\n", 10);
13 | }
14 |
--------------------------------------------------------------------------------
/Practicals/Practical_01/Practical_01_viii/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_01/Practical_01_viii/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_i/Practical_02_i.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_i/Practical_02_i.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_i/bin/Debug/Practical_02_i.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_02/Practical_02_i/bin/Debug/Practical_02_i.exe
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_i/main.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main()
4 | {
5 | int age;
6 | printf("HI, HOW OLD ARE YOU? ");
7 | scanf("%d",&age);
8 | printf("\n\n");
9 | printf("WELCOME %d\n",age);
10 | printf("LET's BE FRIENDS!\n");
11 | return 0;
12 | }
13 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_i/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_02/Practical_02_i/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_ii/Practical_02_ii.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_ii/Practical_02_ii.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_ii/bin/Debug/Practical_02_ii.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_02/Practical_02_ii/bin/Debug/Practical_02_ii.exe
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_ii/main.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main()
4 | {
5 | printf("%15d%10d%10d\n", 2, 4, 8);
6 | printf("%15d%10d%10d\n", 3, 9, 27);
7 | printf("%15d%10d%10d\n", 4, 16, 64);
8 | return 0;
9 | }
10 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_ii/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_02/Practical_02_ii/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_iii/Practical_02_iii.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_iii/Practical_02_iii.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1684473936 source:c:\users\arvin\documents\code blocks\practical_02\practical_02_iii\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_iii/Practical_02_iii.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_iii/bin/Debug/Practical_02_iii.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_02/Practical_02_iii/bin/Debug/Practical_02_iii.exe
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_iii/main.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main()
4 | {
5 | float dt,tt,avgs;
6 | printf("Enter the Distance Traveled: ");
7 | scanf("%f",&dt);
8 | printf("Enter the Time Taken: ");
9 | scanf("%f",&tt);
10 | avgs=(dt/tt);
11 | printf("The average speed is %.2f.",avgs);
12 | return 0;
13 | }
14 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_iii/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_02/Practical_02_iii/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_iv/Practical_02_iv.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_iv/Practical_02_iv.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1684506466 source:c:\users\arvin\documents\code blocks\practical_02\practical_02_iv\main.c
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_iv/Practical_02_iv.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_iv/bin/Debug/Practical_02_iv.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_02/Practical_02_iv/bin/Debug/Practical_02_iv.exe
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_iv/main.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main()
4 | {
5 | float c,f;
6 | printf("Enter the value in Fahrenheit: ");
7 | scanf("%f",&f);
8 | c=5*(f-32)/9;
9 | printf("The celsius value is %.2f.",c);
10 | return 0;
11 | }
12 |
--------------------------------------------------------------------------------
/Practicals/Practical_02/Practical_02_iv/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_02/Practical_02_iv/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_03/Practical_03.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_03/Practical_03.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1686022330 source:c:\users\arvin\documents\code blocks\practical_02\practical_03\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_03/Practical_03.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_03/bin/Debug/Practical_03.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_03/bin/Debug/Practical_03.exe
--------------------------------------------------------------------------------
/Practicals/Practical_03/doxygen/doxyfile:
--------------------------------------------------------------------------------
1 | #******************************************************************************
2 | # Base configuration for doxygen, generated by DoxyBlocks.
3 | # You may change these defaults to suit your purposes.
4 | #******************************************************************************
5 |
6 | # Doxyfile 1.7.3
7 |
8 | #---------------------------------------------------------------------------
9 | # Project related configuration options
10 | #---------------------------------------------------------------------------
11 | DOXYFILE_ENCODING = UTF-8
12 | PROJECT_NAME = Practical_03
13 | PROJECT_NUMBER =
14 | PROJECT_BRIEF =
15 | PROJECT_LOGO =
16 | OUTPUT_DIRECTORY =
17 | CREATE_SUBDIRS = NO
18 | OUTPUT_LANGUAGE = English
19 | BRIEF_MEMBER_DESC = YES
20 | REPEAT_BRIEF = YES
21 | ABBREVIATE_BRIEF =
22 | ALWAYS_DETAILED_SEC = NO
23 | INLINE_INHERITED_MEMB = NO
24 | FULL_PATH_NAMES = NO
25 | STRIP_FROM_PATH =
26 | STRIP_FROM_INC_PATH =
27 | SHORT_NAMES = NO
28 | JAVADOC_AUTOBRIEF = NO
29 | QT_AUTOBRIEF = NO
30 | MULTILINE_CPP_IS_BRIEF = NO
31 | INHERIT_DOCS = YES
32 | SEPARATE_MEMBER_PAGES = NO
33 | TAB_SIZE = 8
34 | ALIASES =
35 | OPTIMIZE_OUTPUT_FOR_C = NO
36 | OPTIMIZE_OUTPUT_JAVA = NO
37 | OPTIMIZE_FOR_FORTRAN = NO
38 | OPTIMIZE_OUTPUT_VHDL = NO
39 | EXTENSION_MAPPING =
40 | BUILTIN_STL_SUPPORT = NO
41 | CPP_CLI_SUPPORT = NO
42 | SIP_SUPPORT = NO
43 | IDL_PROPERTY_SUPPORT = YES
44 | DISTRIBUTE_GROUP_DOC = NO
45 | SUBGROUPING = YES
46 | TYPEDEF_HIDES_STRUCT = NO
47 | SYMBOL_CACHE_SIZE = 0
48 | #---------------------------------------------------------------------------
49 | # Build related configuration options
50 | #---------------------------------------------------------------------------
51 | EXTRACT_ALL = NO
52 | EXTRACT_PRIVATE = NO
53 | EXTRACT_STATIC = NO
54 | EXTRACT_LOCAL_CLASSES = YES
55 | EXTRACT_LOCAL_METHODS = NO
56 | EXTRACT_ANON_NSPACES = NO
57 | HIDE_UNDOC_MEMBERS = NO
58 | HIDE_UNDOC_CLASSES = NO
59 | HIDE_FRIEND_COMPOUNDS = NO
60 | HIDE_IN_BODY_DOCS = NO
61 | INTERNAL_DOCS = NO
62 | CASE_SENSE_NAMES = NO
63 | HIDE_SCOPE_NAMES = NO
64 | SHOW_INCLUDE_FILES = YES
65 | FORCE_LOCAL_INCLUDES = NO
66 | INLINE_INFO = YES
67 | SORT_MEMBER_DOCS = YES
68 | SORT_BRIEF_DOCS = NO
69 | SORT_MEMBERS_CTORS_1ST = NO
70 | SORT_GROUP_NAMES = NO
71 | SORT_BY_SCOPE_NAME = NO
72 | STRICT_PROTO_MATCHING = NO
73 | GENERATE_TODOLIST = YES
74 | GENERATE_TESTLIST = YES
75 | GENERATE_BUGLIST = YES
76 | GENERATE_DEPRECATEDLIST= YES
77 | ENABLED_SECTIONS =
78 | MAX_INITIALIZER_LINES = 30
79 | SHOW_USED_FILES = YES
80 | SHOW_DIRECTORIES = NO
81 | SHOW_FILES = YES
82 | SHOW_NAMESPACES = YES
83 | FILE_VERSION_FILTER =
84 | LAYOUT_FILE =
85 | #---------------------------------------------------------------------------
86 | # configuration options related to warning and progress messages
87 | #---------------------------------------------------------------------------
88 | QUIET = NO
89 | WARNINGS = YES
90 | WARN_IF_UNDOCUMENTED = NO
91 | WARN_IF_DOC_ERROR = YES
92 | WARN_NO_PARAMDOC = YES
93 | WARN_FORMAT = "$file:$line: $text"
94 | WARN_LOGFILE = "C:\Users\arvin\Documents\Code Blocks\Practical_02\Practical_03\doxygen\doxygen.log"
95 | #---------------------------------------------------------------------------
96 | # configuration options related to the input files
97 | #---------------------------------------------------------------------------
98 | INPUT = \
99 | "..\main.c"
100 | INPUT_ENCODING = UTF-8
101 | FILE_PATTERNS =
102 | RECURSIVE = NO
103 | EXCLUDE =
104 | EXCLUDE_SYMLINKS = NO
105 | EXCLUDE_PATTERNS =
106 | EXCLUDE_SYMBOLS =
107 | EXAMPLE_PATH =
108 | EXAMPLE_PATTERNS =
109 | EXAMPLE_RECURSIVE = NO
110 | IMAGE_PATH =
111 | INPUT_FILTER =
112 | FILTER_PATTERNS =
113 | FILTER_SOURCE_FILES = NO
114 | FILTER_SOURCE_PATTERNS =
115 | #---------------------------------------------------------------------------
116 | # configuration options related to source browsing
117 | #---------------------------------------------------------------------------
118 | SOURCE_BROWSER = NO
119 | INLINE_SOURCES = NO
120 | STRIP_CODE_COMMENTS = YES
121 | REFERENCED_BY_RELATION = NO
122 | REFERENCES_RELATION = NO
123 | REFERENCES_LINK_SOURCE = YES
124 | USE_HTAGS = NO
125 | VERBATIM_HEADERS = YES
126 | #---------------------------------------------------------------------------
127 | # configuration options related to the alphabetical class index
128 | #---------------------------------------------------------------------------
129 | ALPHABETICAL_INDEX = YES
130 | COLS_IN_ALPHA_INDEX = 5
131 | IGNORE_PREFIX =
132 | #---------------------------------------------------------------------------
133 | # configuration options related to the HTML output
134 | #---------------------------------------------------------------------------
135 | GENERATE_HTML = YES
136 | HTML_OUTPUT = html
137 | HTML_FILE_EXTENSION = .html
138 | HTML_HEADER =
139 | HTML_FOOTER =
140 | HTML_STYLESHEET =
141 | HTML_COLORSTYLE_HUE = 220
142 | HTML_COLORSTYLE_SAT = 100
143 | HTML_COLORSTYLE_GAMMA = 80
144 | HTML_TIMESTAMP = YES
145 | HTML_ALIGN_MEMBERS = YES
146 | HTML_DYNAMIC_SECTIONS = NO
147 | GENERATE_DOCSET = NO
148 | DOCSET_FEEDNAME = "Doxygen generated docs"
149 | DOCSET_BUNDLE_ID = org.doxygen.Project
150 | DOCSET_PUBLISHER_ID = org.doxygen.Publisher
151 | DOCSET_PUBLISHER_NAME = Publisher
152 | GENERATE_HTMLHELP = NO
153 | CHM_FILE = "../Practical_03.chm"
154 | HHC_LOCATION =
155 | GENERATE_CHI = NO
156 | CHM_INDEX_ENCODING =
157 | BINARY_TOC = NO
158 | TOC_EXPAND = NO
159 | GENERATE_QHP = NO
160 | QCH_FILE =
161 | QHP_NAMESPACE = org.doxygen.Project
162 | QHP_VIRTUAL_FOLDER = doc
163 | QHP_CUST_FILTER_NAME =
164 | QHP_CUST_FILTER_ATTRS =
165 | QHP_SECT_FILTER_ATTRS =
166 | QHG_LOCATION =
167 | GENERATE_ECLIPSEHELP = NO
168 | ECLIPSE_DOC_ID = org.doxygen.Project
169 | DISABLE_INDEX = NO
170 | ENUM_VALUES_PER_LINE = 4
171 | GENERATE_TREEVIEW = YES
172 | USE_INLINE_TREES = NO
173 | TREEVIEW_WIDTH = 250
174 | EXT_LINKS_IN_WINDOW = NO
175 | FORMULA_FONTSIZE = 10
176 | FORMULA_TRANSPARENT = YES
177 | USE_MATHJAX = NO
178 | MATHJAX_RELPATH = http://www.mathjax.org/mathjax
179 | SEARCHENGINE = YES
180 | SERVER_BASED_SEARCH = NO
181 | #---------------------------------------------------------------------------
182 | # configuration options related to the LaTeX output
183 | #---------------------------------------------------------------------------
184 | GENERATE_LATEX = NO
185 | LATEX_OUTPUT = latex
186 | LATEX_CMD_NAME = latex
187 | MAKEINDEX_CMD_NAME = makeindex
188 | COMPACT_LATEX = NO
189 | PAPER_TYPE = a4
190 | EXTRA_PACKAGES =
191 | LATEX_HEADER =
192 | PDF_HYPERLINKS = YES
193 | USE_PDFLATEX = YES
194 | LATEX_BATCHMODE = NO
195 | LATEX_HIDE_INDICES = NO
196 | LATEX_SOURCE_CODE = NO
197 | #---------------------------------------------------------------------------
198 | # configuration options related to the RTF output
199 | #---------------------------------------------------------------------------
200 | GENERATE_RTF = NO
201 | RTF_OUTPUT = rtf
202 | COMPACT_RTF = NO
203 | RTF_HYPERLINKS = NO
204 | RTF_STYLESHEET_FILE =
205 | RTF_EXTENSIONS_FILE =
206 | #---------------------------------------------------------------------------
207 | # configuration options related to the man page output
208 | #---------------------------------------------------------------------------
209 | GENERATE_MAN = NO
210 | MAN_OUTPUT = man
211 | MAN_EXTENSION = .3
212 | MAN_LINKS = NO
213 | #---------------------------------------------------------------------------
214 | # configuration options related to the XML output
215 | #---------------------------------------------------------------------------
216 | GENERATE_XML = NO
217 | XML_OUTPUT = xml
218 | XML_SCHEMA =
219 | XML_DTD =
220 | XML_PROGRAMLISTING = YES
221 | #---------------------------------------------------------------------------
222 | # configuration options for the AutoGen Definitions output
223 | #---------------------------------------------------------------------------
224 | GENERATE_AUTOGEN_DEF = NO
225 | #---------------------------------------------------------------------------
226 | # configuration options related to the Perl module output
227 | #---------------------------------------------------------------------------
228 | GENERATE_PERLMOD = NO
229 | PERLMOD_LATEX = NO
230 | PERLMOD_PRETTY = YES
231 | PERLMOD_MAKEVAR_PREFIX =
232 | #---------------------------------------------------------------------------
233 | # Configuration options related to the preprocessor
234 | #---------------------------------------------------------------------------
235 | ENABLE_PREPROCESSING = YES
236 | MACRO_EXPANSION = YES
237 | EXPAND_ONLY_PREDEF = YES
238 | SEARCH_INCLUDES = YES
239 | INCLUDE_PATH =
240 | INCLUDE_FILE_PATTERNS =
241 | PREDEFINED = WXUNUSED()=
242 | EXPAND_AS_DEFINED =
243 | SKIP_FUNCTION_MACROS = YES
244 | #---------------------------------------------------------------------------
245 | # Configuration::additions related to external references
246 | #---------------------------------------------------------------------------
247 | TAGFILES =
248 | GENERATE_TAGFILE =
249 | ALLEXTERNALS = NO
250 | EXTERNAL_GROUPS = YES
251 | PERL_PATH = /usr/bin/perl
252 | #---------------------------------------------------------------------------
253 | # Configuration options related to the dot tool
254 | #---------------------------------------------------------------------------
255 | CLASS_DIAGRAMS = NO
256 | MSCGEN_PATH =
257 | HIDE_UNDOC_RELATIONS = YES
258 | HAVE_DOT = NO
259 | DOT_NUM_THREADS = 0
260 | DOT_FONTNAME = Helvetica
261 | DOT_FONTSIZE = 10
262 | DOT_FONTPATH =
263 | CLASS_GRAPH = YES
264 | COLLABORATION_GRAPH = YES
265 | GROUP_GRAPHS = YES
266 | UML_LOOK = NO
267 | TEMPLATE_RELATIONS = NO
268 | INCLUDE_GRAPH = YES
269 | INCLUDED_BY_GRAPH = YES
270 | CALL_GRAPH = YES
271 | CALLER_GRAPH = NO
272 | GRAPHICAL_HIERARCHY = YES
273 | DIRECTORY_GRAPH = YES
274 | DOT_IMAGE_FORMAT = png
275 | DOT_PATH =
276 | DOTFILE_DIRS =
277 | MSCFILE_DIRS =
278 | DOT_GRAPH_MAX_NODES = 50
279 | MAX_DOT_GRAPH_DEPTH = 0
280 | DOT_TRANSPARENT = NO
281 | DOT_MULTI_TARGETS = NO
282 | GENERATE_LEGEND = YES
283 | DOT_CLEANUP = YES
284 |
285 |
--------------------------------------------------------------------------------
/Practicals/Practical_03/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int main()
5 | {/*
6 | //Question 01
7 |
8 | int n1,n2;
9 | printf("Enter two numbers: ");
10 | scanf("%d,%d",&n1,&n2);
11 | if (n1max)
24 | max=n4;
25 | if (n5>max)
26 | max=n5;
27 | printf("The Largest number is %d.\n",max);
28 |
29 | min=n3;
30 | if (n4=10000)
50 | in=15;
51 | else
52 | in=5;
53 | in=(bs/100)*in;
54 | ns=bs+in;
55 | printf("%s's new salary is Rs.%.2f.",en,ns);
56 | printf("\n\n");
57 |
58 | //Question 04
59 |
60 | float r,pi;
61 | printf("Enter the radius of circle: ");
62 | scanf("%f",&r);
63 | pi=3.14159;
64 | printf("The Circumference is: %.2f.\n",(2*pi*r));
65 | printf("The Diameter is: %.2f.\n",2*r);
66 | printf("The Area is: %.2f.",(pi*r*r));
67 | printf("\n\n");
68 |
69 | //Question 05
70 |
71 | int n6,n7,re;
72 | printf("Enter two numbers: ");
73 | scanf("%d,%d",&n6,&n7);
74 | re=n6%n7;
75 | if (re==0)
76 | printf("The first number is a multiplication of second number.");
77 | else
78 | printf("The first number is not a multiplication of second number.");
79 | printf("\n\n");
80 |
81 | //Question 06
82 |
83 | char value;
84 | printf("Enter a character: ");
85 | scanf("%c",&value);
86 | printf("The integer value of %c is %d.",value,value);
87 | printf("\n\n");
88 |
89 | //Question 07
90 | */
91 | int seyears;
92 | float basic,monthly,grossremu;
93 | char cty;
94 |
95 | printf("Enter 'C' if you work in Colombo (else enter 'N'): ");
96 | scanf("%c", &cty);
97 | printf("Enter your basic salary: ");
98 | scanf("%f", &basic);
99 | printf("Enter your years of service: ");
100 | scanf("%d", &seyears);
101 | printf("Enter your monthly sales: ");
102 | scanf("%f", &monthly);
103 |
104 | if (seyears>5)
105 | grossremu=basic+(monthly*0.10);
106 | else
107 | grossremu=basic;
108 | if (cty=='C')
109 | grossremu=grossremu+2500;
110 | if (monthly<25000)
111 | grossremu=grossremu+(monthly*0.10);
112 | else if (monthly<50000)
113 | grossremu=grossremu+(monthly*0.12);
114 | else
115 | grossremu=grossremu+(monthly*0.15);
116 | printf("Gross monthly remuneration = Rs. %.2f \n",grossremu);
117 | }
118 |
--------------------------------------------------------------------------------
/Practicals/Practical_03/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_03/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_i/Practical_4_i.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_i/Practical_4_i.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1686563862 source:c:\users\arvin\documents\code blocks\practical_4\practical_4_i\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_i/Practical_4_i.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_i/bin/Debug/Practical_4_i.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_04/Practical_04_i/bin/Debug/Practical_4_i.exe
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_i/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int main()
5 | {
6 | //Using if condition & else condition.
7 |
8 | int n1,ans;
9 | printf("Enter a number: ");
10 | scanf("%d",&n1);
11 | ans=n1%2;
12 | if (ans==0)
13 | printf("The number you entered is an even number.");
14 | else
15 | printf("The number you entered is an odd number.");
16 | printf("\n\n");
17 |
18 | //Using switch.
19 |
20 | int n2,ans1;
21 | printf("Enter a number: ");
22 | scanf("%d",&n2);
23 | ans1=n2%2;
24 | switch(ans1)
25 | {
26 | case 0:printf("The number you entered is an even number.");break;
27 | default:printf("The number you entered is an odd number.");
28 | }
29 | }
30 |
31 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_i/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_04/Practical_04_i/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_ii/Practical_4_ii.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_ii/Practical_4_ii.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1686568011 source:c:\users\arvin\documents\code blocks\practical_4\practical_4_ii\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_ii/Practical_4_ii.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_ii/bin/Debug/Practical_4_ii.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_04/Practical_04_ii/bin/Debug/Practical_4_ii.exe
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_ii/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int main()
5 | {
6 | //Making a Basic Calculator.
7 | int tool;
8 | float n1,n2;
9 | printf("Enter two numbers: ");
10 | scanf("%f,%f",&n1,&n2);
11 | printf("\n");
12 | printf("Enter the method you want to use: \n\n");
13 | printf("Press 1 to Add : (+)\n");
14 | printf("Press 2 to Multiply : (*)\n");
15 | printf("Press 3 to Substract : (-)\n");
16 | printf("Press 4 to Divide : (/)\n\n");
17 | scanf("%d",&tool);
18 | printf("\n");
19 | switch(tool)
20 | {
21 | case 1:printf("Answer is %.2f.\n",n1+n2);break;
22 | case 2:printf("Answer is %.2f.\n",n1*n2);break;
23 | case 3:printf("Answer is %.2f.\n",n1-n2);break;
24 | case 4:printf("Answer is %.2f.\n",n1/n2);break;
25 | default:printf("Invalid Format.%2f.\n");
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_ii/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_04/Practical_04_ii/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_iii/Practical_4_iii.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_iii/Practical_4_iii.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1686587692 source:c:\users\arvin\documents\code blocks\practicals\practical_4\practical_4_iii\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_iii/Practical_4_iii.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_iii/bin/Debug/Practical_4_iii.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_04/Practical_04_iii/bin/Debug/Practical_4_iii.exe
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_iii/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int main()
5 | {
6 | float r;
7 | double pi=3.14;
8 | char tool;
9 | printf("Enter the radius of the circle or sphere: ");
10 | scanf("%f",&r);
11 | printf("\n");
12 | printf("Select the option you want: \n");
13 | printf("* Press 'c' to find circumference of a circle.\n");
14 | printf("* Press 'a' to find area of a circle.\n");
15 | printf("* Press 'v' to find volume of a sphere.\n\n");
16 | printf("**Enter the option: ");
17 | scanf("%s",&tool);
18 | printf("\n");
19 | switch(tool)
20 | {
21 | case 'c':printf("***%.2f is the circumference of the circle.\n",2.0*pi*r);break;
22 | case 'a':printf("***%.2f is the area of the circle.\n",pi*r*r);break;
23 | case 'v':printf("***%.2f is the volume of the sphere.\n",(4.0/3.0)*pi*r*r*r);break;
24 | default:printf("***The input is invalid.\n");
25 | }
26 |
27 |
28 |
29 | }
30 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_iii/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_04/Practical_04_iii/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_iv/Practical_04_iv.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_iv/Practical_04_iv.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1686588809 source:c:\users\arvin\documents\code blocks\practical_4\practical_04_iv\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_iv/Practical_04_iv.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_iv/bin/Debug/Practical_04_iv.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_04/Practical_04_iv/bin/Debug/Practical_04_iv.exe
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_iv/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int main()
5 | {
6 | //Find a character whether it is a vowel or not.
7 | char ch;
8 | printf("***You can enter a single character to identify whether it is a vowel or not***\n\n");
9 | printf("Enter only a single character: ");
10 | scanf("%c",&ch);
11 | switch(ch)
12 | {
13 | case 'a':printf("%c is a vowel.",ch);break;
14 | case 'e':printf("%c is a vowel.",ch);break;
15 | case 'i':printf("%c is a vowel.",ch);break;
16 | case 'o':printf("%c is a vowel.",ch);break;
17 | case 'u':printf("%c is a vowel.",ch);break;
18 | case 'A':printf("%c is a vowel.",ch);break;
19 | case 'E':printf("%c is a vowel.",ch);break;
20 | case 'I':printf("%c is a vowel.",ch);break;
21 | case 'O':printf("%c is a vowel.",ch);break;
22 | case 'U':printf("%c is a vowel.",ch);break;
23 | default:printf("%c is not a vowel.",ch);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_iv/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_04/Practical_04_iv/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_v/Practical_04_v.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_v/Practical_04_v.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1686590124 source:c:\users\arvin\documents\code blocks\practical_4\practical_04_v\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_v/Practical_04_v.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_v/bin/Debug/Practical_04_v.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_04/Practical_04_v/bin/Debug/Practical_04_v.exe
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_v/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int main()
5 | {
6 | int no;
7 | printf("***Enter a number of a month to see how many days are there in the month***\n\n");
8 | printf("**Enter the number of the month you prefer: ");
9 | scanf("%d",&no);
10 | printf("\n");
11 | switch(no)
12 | {
13 | case 1:printf("*January has 31 days.\n");break;
14 | case 2:printf("*February has 28 days.\n");break;
15 | case 3:printf("*March has 31 days.\n");break;
16 | case 4:printf("*April has 30 days.\n");break;
17 | case 5:printf("*May has 31 days.\n");break;
18 | case 6:printf("*June has 30 days.\n");break;
19 | case 7:printf("*July has 31 days.\n");break;
20 | case 8:printf("*August has 31 days.\n");break;
21 | case 9:printf("*September has 30 days.\n");break;
22 | case 10:printf("*October has 31 days.\n");break;
23 | case 11:printf("*November has 30 days.\n");break;
24 | case 12:printf("*December has 31 days.\n");break;
25 | default:printf("*%d isn't a number of a month.\n",no);
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/Practicals/Practical_04/Practical_04_v/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_04/Practical_04_v/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_05/Practical_05.rar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_05/Practical_05.rar
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_I/Practical_05_I.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_I/Practical_05_I.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1688985500 source:c:\users\arvin\documents\code blocks\practicals\practical_05\practical_05_i\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_I/Practical_05_I.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_I/bin/Debug/Practical_05_I.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_06/Practical_06_I/bin/Debug/Practical_05_I.exe
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_I/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int main()
5 | {
6 | float ary[10],max,min,tot=0,avg;
7 | int x;
8 | printf("**Enter element 1: ");
9 | scanf("%f",&ary[0]);
10 | min=ary[0];
11 | max=ary[0];
12 | tot+=ary[0];
13 | for(x=1;x<10;x++)
14 | {
15 | printf("**Enter element %d: ",x+1);
16 | scanf("%f",&ary[x]);
17 | tot=tot+ary[x];
18 | if(ary[x]>max)
19 | max=ary[x];
20 | if (ary[x]0;x--)
30 | {
31 | printf("%.2f ",ary[x]);
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_I/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_06/Practical_06_I/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_A/Practical_05_II_A.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_A/Practical_05_II_A.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_A/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | int main()
4 | {
5 | int arr1[5],arr2[5];
6 | int i,sum[5];
7 | for (i=0;i<5;i++)
8 | {
9 | printf("**input values to array 1 = "); scanf("%d",&arr1[i]);
10 | printf("**input values to array 2 = "); scanf("%d",&arr2[i]);
11 | sum[i]=arr1[i]+arr2[i];
12 | printf("\n");
13 | }
14 | for (i=0;i<5;i++)
15 | printf("\n***%d + %d = %d\n",arr1 [i],arr2[i],sum[i]);
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_B/Practical_05_II_B.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_B/Practical_05_II_B.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1688987357 source:c:\users\arvin\documents\code blocks\practicals\practical_05\practical_05_ii_b\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_B/Practical_05_II_B.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_B/bin/Debug/Practical_05_II_B.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_06/Practical_06_II_B/bin/Debug/Practical_05_II_B.exe
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_B/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | int main()
4 | {
5 | int a1[5],a2[5],i,pdt[5];
6 | for (i=0;i<5;i++)
7 | {
8 | printf("**Input values to array 1 = ");
9 | scanf("%d",&a1[i]);
10 | printf("**Input values to array 2 = ");
11 | scanf("%d",&a2[i]);
12 | printf("\n");
13 | pdt[i]=a1[i]*a2[i];
14 | }
15 | for(i=0;i<5;i++)
16 | printf("%d ",pdt[i]);
17 | }
18 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_B/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_06/Practical_06_II_B/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_C/Practical_05_II_C.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_C/Practical_05_II_C.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1688987644 source:c:\users\arvin\documents\code blocks\practicals\practical_05\practical_05_ii_c\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_C/Practical_05_II_C.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_C/bin/Debug/Practical_05_II_C.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_06/Practical_06_II_C/bin/Debug/Practical_05_II_C.exe
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_C/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | int main()
4 | {
5 | int a1[5],a2[5];
6 | int x,pdt[5],tot=0;
7 | for (x=0;x<5;x++)
8 | {
9 | printf("**Input values to array 1 = ");
10 | scanf("%d",&a1[x]);
11 | printf("**Input values to array 2 = ");
12 | scanf("%d",&a2[x]);
13 | printf("\n");
14 | pdt[x]=a1[x]*a2[x];
15 | }
16 | for (x=0;x<5;x++)
17 | {
18 | printf("/n%d",pdt[x]);
19 | tot=tot+pdt[x];
20 | }
21 | printf("\n\n**The total is %d.\n",tot);
22 | }
23 |
--------------------------------------------------------------------------------
/Practicals/Practical_06/Practical_06_II_C/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_06/Practical_06_II_C/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_07/Practical_07_i/Practical_07_i.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_07/Practical_07_i/Practical_07_i.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1690210625 source:c:\users\arvin\documents\code blocks\practicals\practical_07\practical_07_i\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_07/Practical_07_i/Practical_07_i.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_07/Practical_07_i/bin/Debug/Practical_07_i.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_07/Practical_07_i/bin/Debug/Practical_07_i.exe
--------------------------------------------------------------------------------
/Practicals/Practical_07/Practical_07_i/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int main()
5 | {
6 | int x,y,C[3][3];
7 | int A[3][3]={3,2,4,1,4,6,4,3,2};
8 | int B[3][3]={2,6,3,4,3,2,5,1,7};
9 | for (x=0;x<3;x++)
10 | {
11 | for (y=0;y<3;y++)
12 | {
13 | C[x][y]=A[x][y]+B[x][y];
14 | }
15 | }
16 | printf("**The sum is: \n\n");
17 | for (x=0;x<3;x++)
18 | {
19 | for (y=0;y<3;y++)
20 | {
21 | printf("%4d ",C[x][y]);
22 | }
23 | printf("\n");
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Practicals/Practical_07/Practical_07_i/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_07/Practical_07_i/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_i/Practical_07_i.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_i/Practical_07_i.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_i/bin/Debug/Practical_07_i.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_i/bin/Debug/Practical_07_i.exe
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_i/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | void diff_sum()
5 | {
6 | int x,y,sum,diff;
7 | printf("**Enter two numbers: ");
8 | scanf("%d, %d",&x,&y);
9 | sum=x+y;
10 | diff=x-y;
11 | printf("\n*The sum is %d.\n",sum);
12 | printf("*The difference is %d.\n",diff);
13 | }
14 | int main()
15 | {
16 | diff_sum ();
17 | }
18 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_i/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_i/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_ii/Practical_08_ii.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_ii/Practical_08_ii.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_ii/bin/Debug/Practical_08_ii.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_ii/bin/Debug/Practical_08_ii.exe
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_ii/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | void diff_sum(int a,int b)
5 | {
6 | printf("The sum is %d.\n",a+b);
7 | printf("The difference is %d.",a-b);
8 | }
9 | int main()
10 | {
11 | int n1,n2;
12 | printf("Enter two numbers: ");
13 | scanf("%d, %d",&n1,&n2);
14 | diff_sum(n1,n2);
15 | }
16 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_ii/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_ii/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_iii/Practical_08_iii.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_iii/Practical_08_iii.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_iii/bin/Debug/Practical_08_iii.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_iii/bin/Debug/Practical_08_iii.exe
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_iii/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int product(int a,int b)
5 | {
6 | return a*b;
7 | }
8 | int main()
9 | {
10 | int n1,n2;
11 | printf("**Enter two numbers: ");
12 | scanf("%d, %d",&n1,&n2);
13 | printf("*The product is %d.\n",product(n1,n2));
14 | }
15 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_iii/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_iii/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_iv/Practical_08_iv.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_iv/Practical_08_iv.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_iv/bin/Debug/Practical_08_iv.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_iv/bin/Debug/Practical_08_iv.exe
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_iv/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int quot(int a,int b)
5 | {
6 | return a/b;
7 | }
8 | int main()
9 | {
10 | int n1,n2;
11 | printf("**Enter two numbers: ");
12 | scanf("%d, %d",&n1,&n2);
13 | printf("*The quotient is %d.\n",quot(n1,n2));
14 | }
15 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_iv/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_iv/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_v/Practical_08_v.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_v/Practical_08_v.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_v/bin/Debug/Practical_08_v.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_v/bin/Debug/Practical_08_v.exe
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_v/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | void sum()
5 | {
6 | int n1,n2;
7 | printf("**Enter two numbers: ");
8 | scanf("%d, %d",&n1,&n2);
9 | printf("*The sum is %d.\n\n",n1+n2);
10 | }
11 | int main()
12 | {
13 | sum();
14 | sum();
15 | sum();
16 | }
17 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_v/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_v/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_vi/Practical_08_vi.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_vi/Practical_08_vi.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_vi/bin/Debug/Practical_08_vi.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_vi/bin/Debug/Practical_08_vi.exe
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_vi/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | void mix(int a,int b)
5 | {
6 | printf("*The sum is %d.\n*Difference is %d.\n*Product is %d.",a+b,a-b,a*b);
7 | }
8 | int main()
9 | {
10 | int x,y;
11 | printf("**Enter two numbers: ");
12 | scanf("%d, %d",&x,&y);
13 | mix(x,y);
14 | }
15 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_vi/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_vi/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_vii/Practical_08_vii.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_vii/Practical_08_vii.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1690197555 source:c:\users\arvin\documents\code blocks\practicals\practical_08\practical_08_vii\main.c
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_vii/Practical_08_vii.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_vii/bin/Debug/Practical_08_vii.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_vii/bin/Debug/Practical_08_vii.exe
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_vii/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | double product(int a,float b)
5 | {
6 | return a*b;
7 | }
8 | int main()
9 | {
10 | int x;
11 | float y;
12 | printf("Enter two numbers: ");
13 | scanf("%d, %f",&x,&y);
14 | printf("The product is %lf.",product(x,y));
15 | }
16 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_vii/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArvinFox/CS102.3_Programming_with_C/d2b1efd8ff61d170e20556334eb026376c4a8ea2/Practicals/Practical_08/Practical_08_vii/obj/Debug/main.o
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_viii/Practical_08_viii.cbp:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_viii/Practical_08_viii.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Practicals/Practical_08/Practical_08_viii/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | //08) a.)
4 | double hypotenuse(double side1, double side2)
5 | //08) b.)
6 | int smallest(int x, int y, int z)
7 | //08) c.)
8 | void instructions()
9 | //08) d.)
10 | double intToDouble(int number)
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | https://github.com/ArvinFox/CS102.3_C_30333
2 |
3 |
--------------------------------------------------------------------------------