Homework22 - 22.6 A struct Inventory char partName[30 int partNumber double price int stock int reorder B struct Address char streetAddress[15 char

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
22.6 A.     struct Inventory { char partName[30]; int partNumber; double price; int stock; int reorder;         }; B.   struct Address { char streetAddress[15]; char city[20]; char state[3]; zipCode[6];       }; C.   struct Student { firstName[15]; lastName[15]; Address homeAddress;        }; D.   struct Test { unsinged a : 1; unsinged b : 1; unsinged c : 1;
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
unsinged d : 1; unsinged e : 1; unsinged f: 1; unsinged g : 1; unsigned h : 1; unsigned I : 1; unsigned j : 1; unsigned k : 1; unsigned l : 1; unsigned m : 1; unsigned n : 1; unsigned o : 1; unsigned p : 1;         }; 22.7 A.   cin >> customerRecord.lastName; B.   cin >> customerPtr->lastName; C.   cin >> customerRecord.firstName; D.  cin >> customerPtr->firstName; E.  cin >> customerRecord.customerNumber; F.  cin >> customerPtr->customerNumber; G. cin >> customerRecord.personal.phoneNumber; H. cin >> customerPtr->personal->phoneNumber;
Background image of page 2
I.  cin >> customerRecord.personal.address;
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This homework help was uploaded on 04/18/2008 for the course ECEE 120 taught by Professor Carter during the Winter '08 term at University of Cincinnati.

Page1 / 7

Homework22 - 22.6 A struct Inventory char partName[30 int partNumber double price int stock int reorder B struct Address char streetAddress[15 char

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online