document.write( "Question 1099078: The chances of an error occurring in any single line of code is found to be 0.001 (0.1%).
\n" ); document.write( "If a program contains 400 lines of code, what is the probability that there are no errors?
\n" ); document.write( "

Algebra.Com's Answer #713485 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
the probability that there is an error in a single line of code is .001.
\n" ); document.write( "therefore, the probability that there is not an error in a single line of code is .999.
\n" ); document.write( "the probability that there is not an error in 400 lines of code would be .999^400 = .670185906\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );