Saturday, January 21, 2023

 



hey there coders its me Agent 47 here is an new type of code it is quit simple.



#include<stdio.h>

int main()

 {

  double first, second, temp;

  printf("Enter first number: ");

  scanf("%lf", &first);

  printf("Enter second number: ");

  scanf("%lf", &second);

  temp = first;

  first = second;

  second = temp;

  printf("\nAfter swapping, first number = %.2lf\n", first);

  printf("After swapping, second number = %.2lf", second);

  return 0;

}


0 comments:

Post a Comment

Contact Us

Phone :

+8801716815647
+8801996204467
+8801520731186

Email :

susmoy1025@gmail.com
dishantanjim@gmail.com
sadmansakib7494@gmail.com