lab03.cpp.html
/* fill in your names, the course and
assignment,
followed by a short description of the program */
#include <iostream>
using namespace std;
// ======================
// main function
// ======================
int main()
{
// Variable declarations
int n, i, k;
int counter = 0;
bool isprime;
//Welcome user to the program
//Prompt user for an integer
// Outer loop, tests to see if k is prime for k=2 to n
{
// Assume k is prime
// Inner loop tests whether
or not k is prime
{
}
// Check if flag isprime is
still true
}
//Output total number of primes found
}