//OrinTill Qimid CS1A Chapter 4, P. 294, 10
//
/**************************************************************
 * Compute sales bar
 * 
 * ____________________________________________________________
 * This program will calculate the sales for 5 stores
 * ____________________________________________________________
 * INPUT
 * array : the number of sale for each store.
 * OUTPUT
 * the bar graph that represent each store sale.
 **************************************************************/
#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;

int main() 
{
    float array[5];
    float Star;
    for (int q = 0; q <5; q++)
    {
       cout<<"whats your sale for store "<<q+1<<endl;
       cin>> array[q];
    }
    

   for (int store = 0; store<5; store++)
   {
    cout << "Store "<< store +1<< ": ";
    Star = array[store]/100;
    for ( int i= 0; i < Star; i++)
    {
        cout<<"*";
    }
    cout<<endl;
   }
	return 0;
}