Skip to content

Commit

Permalink
uncrustify
Browse files Browse the repository at this point in the history
  • Loading branch information
paulborile committed Mar 25, 2022
1 parent 150cdd6 commit 2301875
Show file tree
Hide file tree
Showing 4 changed files with 1,183 additions and 1,153 deletions.
14 changes: 8 additions & 6 deletions ack.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
int a;
main()
{
int x;
a = ack (3,12);
int x;
a = ack (3, 12);
}


int ack ( int m , int n )
int ack ( int m, int n )
{
if ( m == 0 ) return ( n + 1 );
else if ( n == 0 ) return ack ( m - 1 , 1 );
else return ack ( m - 1 , ack ( m , n - 1 ));
if ( m == 0 )
return ( n + 1 );
else if ( n == 0 )
return ack ( m - 1, 1 );
else return ack ( m - 1, ack ( m, n - 1 ));
}
Loading

0 comments on commit 2301875

Please sign in to comment.