diff --git a/C/C_largest.c b/C_swap2_modified.c similarity index 90% rename from C/C_largest.c rename to C_swap2_modified.c index 9ea244c..0b0d43a 100644 --- a/C/C_largest.c +++ b/C_swap2_modified.c @@ -1,6 +1,7 @@ #include +#include int main() -{ +{ clrscr(); double n1, n2, n3; printf("Enter three different numbers: "); @@ -16,4 +17,5 @@ int main() printf("%.2f is the largest number.", n3); return 0; + getch(); }