AnmolKnowledge
Monday, October 21, 2019
Add Two Numbers without using third variable
#include<stdio.h>
main()
{
int a,b;
printf("enter two numbers");
scanf("%d %d",&a,&b);
printf("%d",a+b);
getch();
Output
10 15
25
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment