CSE 1342 – Fall 2009                                            

Homework 4

Due Wednesday, September 23 @ 1:00pm

 

Write c++ statements to accomplish each of the following:

1.  Display the value of element 6 of character array f.

2.  Input a value into element 4 of a 1-dimensional array b of type float.

3.  Initialize each of the five elements of a 1-dimensional integer array g to 8.

4.  Total and print the elements of floating-point array c of 100 elements.

5.  Copy array a into the first portion of array b.  Assume double a[11], b[34];

6.  Determine and print the smallest and largest values contained in a 99-element floating-point array w.