-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1409bcrwd.c
35 lines (33 loc) · 961 Bytes
/
1409bcrwd.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
#include<stdio.h>
#include<string.h>
int main()
{
char a[10];
char b[10];
char c[10];
scanf("%s %s %s",&a,&b,&c);
if(a[0]=='v'&&b[0]=='a'&&c[0]=='c'){
printf("aguia\n");
}
if(a[0]=='v'&&b[0]=='a'&&c[0]=='o'){
printf("pomba\n");
}
if(a[0]=='v'&&b[0]=='m'&&c[0]=='o') {
printf("homen\n");
}
if(a[0]=='v'&&b[0]=='m'&&c[0]=='h'){
printf("vaca\n");
}
if(a[0]=='i'&&b[0]=='i'&&c[2]=='h'){
printf("pulga\n");
}
if(a[0]=='i'&&b[0]=='i'&&c[2]=='r'){
printf("lagarta\n");
}
if(a[0]=='i'&&b[0]=='a'&&c[0]=='h'){
printf("sanguessuga\n");
}
if (a[0]=='i'&&b[0]=='a'&&c[0]=='o') {
printf("minhoca\n");}
return 0;
}