Advertisement
Avdluna

Untitled

Sep 14th, 2015
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6. int n,d,x,i;
  7.  
  8. scanf("%d",&d);
  9. scanf("%d",&n);
  10.  
  11. for(i = 0 ; i<n ; i++){
  12.  
  13. scanf("%d",&x);
  14.  
  15. if(x == 1){
  16. printf("Rolien\n");
  17. }
  18.  
  19. else if(x == 2){
  20. printf("Naej\n");
  21. }
  22.  
  23. else if(x == 3){
  24. printf("Elehcim\n");
  25. }
  26.  
  27. else{
  28. printf("Odranoel\n");
  29. }
  30. }
  31.  
  32. return 0;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement