Computer Science, asked by rajusingh3064, 1 year ago

C program to add Two numbers​

Answers

Answered by aditii17
1

Answer:

#include<stdio.h>

int main()

{

int a, b, c;

printf("Enter two numbers to add\n");

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

c = a + b;

printf("Sum of the numbers = %d\n", c);

return 0;

}

Answered by MRsteveAustiN
2

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);

}

Similar questions