Thursday, September 19, 2013

Posting few test programs , solutions for MIT lecture #2

Problem #1. Write a program that computes and prints the 1000th prime number. Solution: count1=0 x = 2 while (count1 <= 10): isprime = 'T' i=2 while (i

No comments:

Post a Comment