write a program to add any two numbers.
please help
Answers
Answered by
4
printf("Enter two integers: "); scanf("%d %d", &number1, &number2); Then, these two numbers are added using the + operator, and the result is stored in the sum variable. Finally, the printf() function is used to display the sum of numbers. printf("%d + %d = %d", number1, number2, sum);
Answered by
1
Answer:
hello,
its using python
Explanation:
# program to add any two numbers.
a=int(input("enter the first number"))
b=int(input("enter the second number"))
sum=a+b
print("the sum of two numbers",a,"and",b,"is :",sum)
__________________________
hope it helps you
please mark brainliest
@ItzSnowySecret07
Similar questions