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
11 changes: 11 additions & 0 deletions C-lang.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//swapping two variables
#include<stdio.h>
int main(){
double a ,b;
printf("Enter numbers to be interchanged=");
scanf("%lf %lf", &a, &b);
a=a+b;
b=a-b;
a=a-b;
printf("\nAfter swapping the numbers, \n the first number is=%lf \n the second number is=%lf", a,b);
return 0;}
3 changes: 3 additions & 0 deletions taranpreet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Creating a new pull request for Hacktoberfest 2020.

github: https://github.com/thetarandhiman