Archive for 九月, 2013

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , ,

25
九月

程式設計一程式 09/25: ex3a.c

   Posted by: admin    in 102(上)程式設計(一)

#include <stdio.h>
#include <stdlib.h>
 
int main(int argc, char *argv[])
{
    int a, b, c
    a = ato(argv[1])
    b = ato(argv[2])
    c = a * b;
    printf(" %3d * %3d = %4d (0x%X)\n", a, b, c);
    return 0; 
}

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , ,

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , ,

18
九月

程式設計一程式 09/18: ex2.c

   Posted by: admin    in 102(上)程式設計(一)

int main()
{
      printf("==========================================\n");
      printf("==========================================\n");
      printf("==========================================\n");
      printf("==========================================\n");
      printf("==========================================\n");
      printf("==========================================\n");
      printf("==========================================\n");
      printf("==========================================\n");
      printf("==========================================\n");
      printf("==========================================\n");
      printf("==========================================\n");
}

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , ,

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , ,