diff --git a/add.c b/add.c new file mode 100644 index 0000000..4613d91 --- /dev/null +++ b/add.c @@ -0,0 +1,8 @@ +#include + + printf("Enter the number of a:"); + scanf("%d",&a); + printf("Enter the number of b:"); + + +} diff --git a/add.py b/add.py index 79aff70..2db66d8 100644 --- a/add.py +++ b/add.py @@ -1,5 +1,5 @@ -a=8 +a1=8 b=4 d=7 -c=a+b=d +sum=a1+b=g print c diff --git a/multi.c b/multi.c new file mode 100644 index 0000000..acbf995 --- /dev/null +++ b/multi.c @@ -0,0 +1,8 @@ +#include +int main() +{ + int num1, b, sum; + + printf("Enter the first number: "); + scanf("%d", &num1); + diff --git a/sub.c b/sub.c new file mode 100644 index 0000000..41b69f7 --- /dev/null +++ b/sub.c @@ -0,0 +1,8 @@ +#include +void main() +{ + int a=3,b=2,c; + c=a-b; + printf("Sub c="); + scanf("%d",&c); +} \ No newline at end of file