-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupup.c
More file actions
27 lines (24 loc) · 1.02 KB
/
Copy pathupup.c
File metadata and controls
27 lines (24 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* upup.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: admansar <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/27 17:55:10 by admansar #+# #+# */
/* Updated: 2022/10/27 17:57:12 by admansar ### ########.fr */
/* */
/* ************************************************************************** */
#include "printf.h"
char *upup(char *c)
{
int i;
i = 0;
while (c[i])
{
if (c[i] >= 'a' && c[i] <= 'z')
c[i] = c[i] + 32;
i++;
}
return (c);
}