1. WAP to input two numbers and print their sum.
Answers
Answered by
1
Answer:
Mark my answer as brainliest.
Here's a program in C language.
#include<stdio.h>
void main()
{
int a,b, sum;
printf("\nEnter first number: ");
scanf("%d",&a);
printf("\nEnter second number: ");
scanf("%d",&b);
sum=a+b;
printf("\n\nSum : %d", sum);
}
Similar questions