1. Create an array of 15 integers.
2. Populate it with values from the keyboard.
3. Let the array index represent the house number. The array value at a particular index represents the number of people living in the corresponding house.
Houses with odd numbers are located on one side of the street.
Street and houses
- 6
Locked
Comments
- Popular
- New
- Old
You must be signed in to leave a comment
This page doesn't have any comments yet