Write C Program Addition of Two Numbers
1: int main()
2: {
3: int a, b, c;
4:
5: printf("Enter two numbers to add");
6: scanf("%d%d",&a,&b);
7:
8: c = a + b;
9:
10: printf("Sum of entered numbers = %d",c);
11:
12: return 0;
13: }
No comments:
Post a Comment