Skip to content

Commit

Permalink
3-islower.c
Browse files Browse the repository at this point in the history
  • Loading branch information
victorpreston committed Jun 20, 2023
1 parent e657795 commit c3b3a0a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions 0x02-functions_nested_loops/3-islower.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include "main.h"

/**
* _islower - Checks for lowercase alphabet
* @c: Character to be checked
* Return: if character is lowercase, otherwise
*/

int _islower(int c)
{
if (c >= 'a' && c <= 'z')
return (1);
else
return (0);
}

0 comments on commit c3b3a0a

Please sign in to comment.