This commit is contained in:
Mert Gör 🇹🇷 2024-10-29 21:59:59 +03:00
parent 4f635443d2
commit 3f8ba5ba80
Signed by: hwpplayer1
GPG Key ID: 03E547D043AB6C8F
2 changed files with 22 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2024-10-29 Mert Gör <mertgor@masscollabs.xyz>
* c-basic/C.pdf: return value page 22
* c-basic/abc.c: add a and b double numbers from scanf
* c-basic/C.pdf: page 21 question/work
* c-basic/d-f.c: #include <stdio.h>

18
c-basic/abc.c Normal file
View File

@ -0,0 +1,18 @@
#include <stdio.h>
int main()
{
double a,b,c;
printf("enter a number \n");
scanf("%lf", &a);
printf("enter b number \n");
scanf("%lf", &b);
c = a + b;
printf("your result and also c number is : %f\n", c);
return 0;
}