Skip to content

Commit

Permalink
10-add.c
Browse files Browse the repository at this point in the history
  • Loading branch information
victorpreston committed Jun 20, 2023
1 parent 879432b commit d59300f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions 0x02-functions_nested_loops/10-add.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include "main.h"
/**
* add - adds two integers and returnsthe result
*
* @x: number being added
*
* @y: number being added
*
* Return: Always 0.
*
*/
int add(int x, int y)
{
return (x + y);
}

0 comments on commit d59300f

Please sign in to comment.