document.write( "Question 1195181: I want to take a number and form a square or rectangle.
\n" );
document.write( "For example:\r
\n" );
document.write( "\n" );
document.write( "Triangluar Numbers
\n" );
document.write( "input = 28 --> 7 columns * 4 rows
\n" );
document.write( "input=45 --> 9 columns * 5 rows
\n" );
document.write( "input = 66 --> 11 columns * 6 rows\r
\n" );
document.write( "\n" );
document.write( "Non Triangular Numbers
\n" );
document.write( "input = 69 --> 7 columns * 9 rows (get as close to a square as possible)\r
\n" );
document.write( "\n" );
document.write( "TIA
\n" );
document.write( "Millamber \n" );
document.write( "
Algebra.Com's Answer #827584 by josgarithmetic(39617)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( " \n" ); document.write( " |