Thread: Array help
View Single Post
Old 10-26-2005, 07:29 AM   #2 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 598
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
For the first one don't you just need to add a second loop to print the contents of the arrays month, product, and sales?
Code:
for (j = 0; j < 12; j++) {
        printf("Month %s : Products: %d : Sales: %d", month[j], product[j], sales[j]);
}
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote