Unformatted text preview: values), and height is a struct with the fields feet and inches (both of which are integers). The following is an example of what the format might look like. experiments weights height num name 1 2 feet inches 1 33 joe 200.34 202.45 5 6 2 11 sally 111.45 111.23 7 2 b) Write a function “printhts” that will receive a vector in this format and will print height of each subjects in inches. e.g. printhts(experiments) Joe is 66 inches tall Sally is 86 inches tall...
View Full Document
This note was uploaded on 02/20/2012 for the course CSCE 155N taught by Professor Sandeep during the Spring '11 term at UNL.
- Spring '11