Computer Science, asked by rajusingh3064, 1 year ago

C program to add Two numbers​

Answers

Answered by MRsteveAustiN
0

Answer:

#include <stdio.h>

void main()

{

int i=3,j=7,k; /* Variables Defining and

Assign values */ k=i+j;

printf("sum of two numbers is %d\n", k);

}

#SteVe

Answered by sougatap57
0

Answer:

#include <stdio.h>

int main()

{

 int a,b,c;

 printf("enter the two numbers");

 scanf("%d%d",&a,&b);

 c=a+b;

 printf("the sum is=%d",c);

   return 0;

}

Output:- Enter the two numbers 5 6

the sum is 11

Similar questions