C program to add Two numbers
Answers
Answered by
2
Answer:
Explanation:
Addition of two numbers in C
#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);
Answered by
1
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