Skip to content

Commit

Permalink
Fixed Linux version
Browse files Browse the repository at this point in the history
  • Loading branch information
Alispezzate committed Jul 10, 2021
1 parent 2638691 commit d3ef8b1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ int main() {
printf("Type c to calculate, type e to exit\n");
while(getchar()!='\n');
scanf("%c", &c);
#ifdef windows
system("@cls");
#endif
#ifdef unix
system("clear");
#endif
break;
case 'e':
exit(1);
Expand Down

0 comments on commit d3ef8b1

Please sign in to comment.