more
This commit is contained in:
parent
ed15ce44d4
commit
ca1b5e05cf
18
ChangeLog
18
ChangeLog
@ -1,3 +1,21 @@
|
|||||||
|
2024-10-29 Mert Gör <mertgor@masscollabs.xyz>
|
||||||
|
|
||||||
|
* c-basic/hex.c: Experımental Branch page 21
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int a, b;
|
||||||
|
|
||||||
|
printf("Enter a number: \n");
|
||||||
|
scanf("%x", &a);
|
||||||
|
printf("a = %d\n", a);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
2024-10-23 Mert Gör <hwpplayer1@debian>
|
2024-10-23 Mert Gör <hwpplayer1@debian>
|
||||||
|
|
||||||
* (cc1): Tüm dersler incelendi. Pratiğe dökülecek konular : GNU Emacs, Linux kernel, Assembly(80X86 ve arm)
|
* (cc1): Tüm dersler incelendi. Pratiğe dökülecek konular : GNU Emacs, Linux kernel, Assembly(80X86 ve arm)
|
||||||
|
12
c-basic/hex.c
Normal file
12
c-basic/hex.c
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int a, b;
|
||||||
|
|
||||||
|
printf("Enter a number: \n");
|
||||||
|
scanf("%x", &a);
|
||||||
|
printf("a = %d\n", a);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
10
c-basic/scanf.c
Normal file
10
c-basic/scanf.c
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int a;
|
||||||
|
|
||||||
|
printf("enter a number : \n");
|
||||||
|
scanf("%d,", &a);
|
||||||
|
printf("your number is : %d\n", a);
|
||||||
|
}
|
14
c-basic/scanf_ab.c
Normal file
14
c-basic/scanf_ab.c
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int a, b;
|
||||||
|
|
||||||
|
printf("enter 'a' number : \n");
|
||||||
|
scanf("%d,", &a);
|
||||||
|
printf("enter 'b' number : \n");
|
||||||
|
scanf("%d, ", &b);
|
||||||
|
printf("your numbers a = %d , b = %d\n", a, b);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user