Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
a71c82c
delete file except for c lang file(#2)
syedabdullahbukhari77 Sep 9, 2025
f654c77
delete file except for c lang file (#4)
syedabdullahbukhari77 Sep 9, 2025
b8d4714
patch-2 creation (#3)
syedabdullahbukhari77 Sep 9, 2025
1451e3d
patch-2 creation (#5)
syedabdullahbukhari77 Sep 9, 2025
81f962a
Update README.md
syedabdullahbukhari77 Sep 9, 2025
9f5a0e7
Update README.md (#6)
syedabdullahbukhari77 Sep 9, 2025
8f9ce1a
demonstrate variables further (#7)
syedabdullahbukhari77 Sep 9, 2025
37db8bd
demonstrate variables further (#7)
syedabdullahbukhari77 Sep 9, 2025
dccd2fd
demonstrate variables further (#7)
syedabdullahbukhari77 Sep 9, 2025
48227c6
demonstrate variables further (#7)
syedabdullahbukhari77 Sep 9, 2025
cea9049
updated / readme (#7)
syedabdullahbukhari77 Sep 9, 2025
07fa25c
Update README.md (#8)
syedabdullahbukhari77 Sep 9, 2025
966f81c
Readme/update (#10)
syedabdullahbukhari77 Sep 9, 2025
5acc0d4
data types in c-lang
syedabdullahbukhari77 Sep 10, 2025
e51061f
data types in c-lang (#11)
syedabdullahbukhari77 Sep 10, 2025
b2a8ec3
constant variables in c-lang
syedabdullahbukhari77 Sep 10, 2025
0e9e0cd
constant variables in c-lang (#11)
syedabdullahbukhari77 Sep 10, 2025
aae6216
constant variables in c-lang
syedabdullahbukhari77 Sep 10, 2025
08ce2ee
constant variables in c-lang (#11)
syedabdullahbukhari77 Sep 10, 2025
9fc3dd8
constant variables in c-lang (#12)
syedabdullahbukhari77 Sep 10, 2025
0af9d91
operators in c-lang (#13)
syedabdullahbukhari77 Sep 10, 2025
3685412
operators in c-lang (#14)
syedabdullahbukhari77 Sep 10, 2025
bfc718f
changes done in operators.exe (#14)
syedabdullahbukhari77 Sep 10, 2025
487bb32
patch-1 / updated (#14)
syedabdullahbukhari77 Sep 12, 2025
77f0409
patch-1 / updated (#16)
syedabdullahbukhari77 Sep 12, 2025
8fe6808
Create 06_booleans.c
syedabdullahbukhari77 Sep 12, 2025
9ec4337
bool in c
syedabdullahbukhari77 Sep 12, 2025
8c1f0b0
if-else in c lang
syedabdullahbukhari77 Sep 12, 2025
f492256
while_loops in c lang
syedabdullahbukhari77 Sep 12, 2025
e2af57b
for-loops in c lang
syedabdullahbukhari77 Sep 12, 2025
8dca562
arrays in c lang
syedabdullahbukhari77 Sep 12, 2025
3613e41
Delete 10_arrays.c
syedabdullahbukhari77 Sep 12, 2025
764be66
patch to be updated (#16)
syedabdullahbukhari77 Sep 12, 2025
fdd5ff4
first c lang program (#1)
syedabdullahbukhari77 Sep 13, 2025
f38c08b
demonstrate variables further (#7)
syedabdullahbukhari77 Sep 13, 2025
5a3cde3
data types in c lang
syedabdullahbukhari77 Sep 13, 2025
4dbc030
constant variables in c lang
syedabdullahbukhari77 Sep 13, 2025
70a50b3
operators in c lang (#13)
syedabdullahbukhari77 Sep 13, 2025
dae35d6
booleans in c
syedabdullahbukhari77 Sep 13, 2025
da708cd
if else in c lang
syedabdullahbukhari77 Sep 13, 2025
08f7f55
while loops in c lang
syedabdullahbukhari77 Sep 13, 2025
d890155
for loops in c lang
syedabdullahbukhari77 Sep 13, 2025
9fce416
hello (#18) [main](https://github.com/syedabdullahbukhari77/c-program…
syedabdullahbukhari77 Sep 13, 2025
f164c80
feat : main updated (#19)
syedabdullahbukhari77 Sep 13, 2025
6398f90
updated pr (#20) from syedabdullahbukhari77/main
syedabdullahbukhari77 Sep 13, 2025
bbc1763
arrays in c lang (#20)
syedabdullahbukhari77 Sep 13, 2025
caade6c
arrays in c lang (#21)
syedabdullahbukhari77 Sep 13, 2025
b77d7e7
Hello/main (#23)
syedabdullahbukhari77 Sep 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 1_hello_world.c → 01_hello_world.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
void main () {
printf("Hello World!");
return 0;
}
}
14 changes: 14 additions & 0 deletions 02_variables.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#include <stdio.h>

int main() {
// Create variables
int myNum = 15; // Integer (whole number)
float myFloatNum = 5.99; // Floating point number
char myLetter = 'D'; // Character

// Print variables
printf("%d\n", myNum);
printf("%f\n", myFloatNum);
printf("%c\n", myLetter);
return 0;
}
13 changes: 13 additions & 0 deletions 03_data_types.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include <stdio.h>

int main (){
char model = 'X';
int model_id = 4923843;
float tetra = 37.3426324;

printf("%d\n" , model_id);
printf("%f\n" , tetra);
printf("%c\n" , model);

return 0;
}
12 changes: 12 additions & 0 deletions 04_constant_variables.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <stdio.h>

int main() {

const int id = 12038921;
const char characters = 'Z';

printf("%d\n", id);
printf("%c\n", characters);

return 0;
}
11 changes: 11 additions & 0 deletions 05_operators.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include <stdio.h>

int main() {
int sum1 = 100 + 50; // 150 (100 + 50)
int sum2 = sum1 + 250; // 400 (150 + 250)
int sum3 = sum2 + sum2; // 800 (400 + 400)
printf("%d\n", sum1);
printf("%d\n", sum2);
printf("%d\n", sum3);
return 0;
}
1 change: 1 addition & 0 deletions 06_booleans.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 07_if_else_loops.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 08_while_loops.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 09_for_loops.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 10_arrays.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

8 changes: 0 additions & 8 deletions 2_variables.c

This file was deleted.

Loading