MUstar

IoT C언어 0424 - 7-4

Apr 24th, 2017
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void print_line(void);
  4.  
  5. int main(void)
  6. {
  7.     print_line();
  8.     printf("학번     이름     전공     학점\n");
  9.     print_line();
  10.    
  11.     return 0;
  12. }
  13.  
  14. void print_line(void)
  15. {
  16.     int i;
  17.     for(i=0;i<50;i++)
  18.     {
  19.         printf("-");
  20.     }
  21.     printf("\n");
  22. }
Add Comment
Please, Sign In to add comment