Advertisement
edgardguitton

Untitled

Feb 22nd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int a, b, c;
  6. scanf("%d %d %d", &a, &b, &c);
  7. if (a==b){
  8. if(a==c){
  9. printf("*\n");
  10. }
  11. else{
  12. printf("C\n");
  13. }
  14. }
  15. else{
  16. if(a==c){
  17. printf("B\n");
  18. }
  19. else{
  20. printf("A\n");
  21. }
  22. }
  23. return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement