Introduction to Computers

Homework 11, Due 12/22 (Thursday)

1.  Write a program that inputs (a) the starting principal, (b) the interest rate per year, and (c) the number of years.   Calculate the amount on deposit for each year and output the result.

Reference: 11.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\HW11

by the following format:

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

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

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

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

The password is given in class.