This is a program which declares two vectors of 6 elements each of type double. One vector is named weight and the other is named rate. The program uses a loop to prompt the user for a weight in ounces and a postage rate for that weight and then stores the values in a parallel element of vectors. After the six weights and rates have been gathered and stored in the vectors, a for loop will print a table of weights and rates to the screen.
Now the program prompts the user for how many packages they want to enter. Then it prompts the user how much the package weighs and what the postage rate is. After the user has entered all the data a table is printed out of the weights and rates that they entered.
Edited 6 Years Ago by gpjacks: spelling