#include <iostream>
#include <iomanip>
#include <string>
using namespace std;

struct Inventory {
    string description;   //Description of the part kept in the bin
    int total;            //Number of parts in the bin
};

struct Inventory bins[30];

void DisplayInventory(int count){
    for (int i = 0; i < count; ++i)
    {
        cout << setw(18) << left << setfill('.') << bins[i].description << setw(5) << right << setfill('*') << bins[i].total << endl;
    }
    cout << endl;
}

int main()
{
	bins[0].description = "Valve";
	bins[0].total = 10;
	bins[1].description = "Bearing";
	bins[1].total = 5;
	bins[2].description = "Bushing";
	bins[2].total = 15;
	bins[3].description = "Coupling";
	bins[3].total = 21;
	bins[4].description = "Flange";
	bins[4].total = 7;
	bins[5].description = "Gear";
	bins[5].total = 5;
	bins[6].description = "Gear Housing";
	bins[6].total = 5;
	bins[7].description = "Vacuum Gripper";
	bins[7].total = 25;
	bins[8].description = "Cable";
	bins[8].total = 18;
	bins[9].description = "Rod";
	bins[9].total = 12;
	
	DisplayInventory(10);
}