fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i=0,count=0;
  5. char b[5];
  6. char a[]={'G','A','M','E',' ','D','E','V','E','L','O','P','M','E','N','T',' ','H','U','B'};
  7. for(i=19;i>0;i=i/1.5)
  8. {printf("%c ",a[i]);
  9. if(count<6)
  10. b[count]=a[i];
  11. count++;
  12. }
  13. for(i=5;i>0;i--)
  14. {
  15. if(i%2==0){
  16. printf("%c",++b[i]);
  17. }else{
  18. printf("%c",--b[i]);
  19. }
  20. }
  21.  
  22.  
  23. return 0;
  24. }
  25.  
Success #stdin #stdout 0s 4532KB
stdin
Standard input is empty
stdout
B  M  E  D  E  M  A  LFCFL