MUstar

IoT C언어 0424 - 7-4

Apr 24th, 2017
28
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data