-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2748.c
52 lines (46 loc) · 923 Bytes
/
2748.c
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define Tam_do_seubeto 27
int main(void)
{
char seubeto[Tam_do_seubeto];
int n, leio;
for (int i = 0; i < 39; i++)
{
printf("-");
}
printf("\n");
for (int i = 0; i < 5; i++)
{
printf("|");
for (int j = 0; j < 37; j++)
{
if (i == 0 && j == 8)
{
printf("Roberto");
j += 6;
}
else if (i == 2 && j == 8)
{
printf("5786");
j += 3;
}
else if (i == 4 && j == 8)
{
printf("UNIFEI");
j += 5;
}
else
printf(" ");
}
printf("|");
printf("\n");
}
for (int i = 0; i < 39; i++)
{
printf("-");
}
printf("\n");
return 0;
}