Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int A, B, C;
- while (scanf("%d %d %d", &A, &B, &C))
- {
- if(A == B && B == C)
- {
- printf("*\n");
- }
- else if(B == C)
- {
- printf("A\n");
- }
- else if(A == C)
- {
- printf("B\n");
- }
- else
- {
- printf("C\n");
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement