Write a program to accept two numbers from the user and find the sum of their sequence.also write it algorithm.Eg=8×8+4×4=16+64=80.
Answers
Answered by
0
include <stdio.h>
int main()
{
int a=0,b=0,sum=0
printf("Enter two numbers...");
scanf("%d%d",&a,&b);
sum=a+b;
printf("The sum is %d",sum);
return 0;
}
int main()
{
int a=0,b=0,sum=0
printf("Enter two numbers...");
scanf("%d%d",&a,&b);
sum=a+b;
printf("The sum is %d",sum);
return 0;
}
Similar questions
Math,
7 months ago
Chemistry,
7 months ago
Computer Science,
7 months ago
Social Sciences,
1 year ago