include <iostream>
int main()
{
// .625 then to 1.625 then 3.625 then 5.625 then 7.625
{
double v = 0.625 ;
for( int n = 0 ; n < 10 ; ++n )
{
std::cout << n << ". " << v << '\n' ;
if( n == 0 ) v += 1 ;
else v += 2 ;
}
}
std::cout << "\n----------------------------\n" ;
// .625 then to 1.625 then 3.625 then 6.625 then 10.625
{
double v = 0.625 ;
for( int n = 0 ; n < 10 ; ++n )
{
std::cout << n << ". " << v << '\n' ;
v += (n+1) ;
}
}
}