Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions yoyo
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#include<stdio.h>
void main()
{
int a,b;
printf("enter value of a and b");
scanf("%d",&a,&b);
a=a+b;
b=a-b;
a=a-b;
printf("%d",a,b);
float a,b;
printf("enter value of a and b");
scanf("%f",&a,&b);
a=a+b;
b=a-b;
a=a-b;
printf(�the swapped values are�);
printf("%f",a,b);
getch();
}
Binary file added ~$yoyo
Binary file not shown.