Skip to content

Commit 17f1594

Browse files
committed
refactor: aggiunta return EXIT_SUCCESS
1 parent a00c895 commit 17f1594

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exercises/ex1.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* Improve this program using a switch-case. */
22

33
#include <iostream>
4+
#define EXIT_SUCCESS 0
45
using namespace std;
56

67
int main()
@@ -39,5 +40,5 @@ int main()
3940
break;
4041
}
4142

42-
return 0;
43+
return EXIT_SUCCESS;
4344
}

0 commit comments

Comments
 (0)