#include <iostream>
#include <iomanip>

int main()
{
    const int counts[] = { 166652, 166675, 166668, 166663, 166678, 166664 } ;

    std::cout << std::fixed << std::setprecision(2) ;

    for( int v : counts )
    {
        const double pct = ( v * 100 ) / 1000000 ; // integer division
        std::cout << pct << ' ' ;
    }
    std::cout << '\n' ;
    // prints: 16.00 16.00 16.00 16.00 16.00 16.00

    for( int v : counts )
    {
        const double pct = ( v * 100.0 ) / 1000000 ;
        std::cout << pct << ' ' ;
    }
    std::cout << '\n' ;
    // prints: 16.67 16.67 16.67 16.67 16.67 16.67
}
