How to write a c program to add two numbers in C programming ?
Solution:
#include <stdio.h>
int main()
{
int x;
int y;
int sum;
x = 10;
y = 25;
sum = x + y;
printf("%d + %d = %d\n", x, y, sum);
return 0;
}
Learn To Write A Program. Learn Programming Online. Find Programming Solutions.