write a program to input two number and sum of that number
Answers
Answered by
1
a = int(input("enter first number: "))
b = int(input("enter second number: "))
sum = a + b
print("sum:", sum)
Answered by
1
Program : C Program to find sum of two numbers
1. #include<stdio.h>
2. int main() {
3. int a, b, sum;
4. printf("\nEnter two no: ");
5. scanf("%d %d", &a, &b);
6. sum = a + b;
7. printf("Sum : %d", sum);
8. return(0);
Similar questions