COMPUTER PROGRAMMING WEEK 10 CLASS HOMEWORKS

 

HW1) Temperature and specific heat of CO2  gas is given in file co2_cv.txt . Read the data, from the file and output to the screen. Use

BufferedReader fin=new BufferedReader(new FileReader(“co2_cv.txt”));  To open the channel

HW 2)  : Read x and y values from file e.txt. Write x and  values into file  f.txt file.

 

HW3) by using zip.java compress readfromfile.java into readfromfile.zip file

 

HW4) Read contents of readfromfile.java file as Strings, count total number of words, list each word seperately. Write a program to do this.

 

HW5)  Temperature and specific heat of CO2  gas is given in file co2_cv.txt . Read the data, from the file, calculate the avarage temperature and Cp value and print out the result.