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
English,
4 months ago
English,
4 months ago
Math,
4 months ago
History,
9 months ago
Social Sciences,
9 months ago