fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // выводим "линейку" на экран используя \t
  5. printf("0-------8-------|-------|-------|\n");
  6. printf("0\t8\t16\t24\t32\n");
  7. // другие примеры использования \t
  8. printf("Hi!\tYoung\tCoder\n");
  9. printf("YoungCoder\tCourse\n");
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
0-------8-------|-------|-------|
0	8	16	24	32
Hi!	Young	Coder
YoungCoder	Course