Introduction to Computers

Homework 12, Due 12/29 (Thursday)

1.  Write a program that simulates flipping a fair coin 10000 times.  Output the frequencies of heads and tailst.

Reference: 12.c  

 

ftp your homework (c source file and one sample run result saved as a JPEG file) to

ftp://aca071@ftp.csie.nuk.edu.tw

in the directory upload\HW12

by the following format:

主旨:hw#_班級_學號_題號

檔案名稱:hw#_班級_學號_題號.c

例如:應化一同學,作業1

    檔案名稱:hw1_AC_a0925124_01.xxx (depending on the file type)

The password is given in class.