// Justin C. Miller
// University of Wisconsin Oshkosh
// Made for: http://www.geocities.com/neonprimetime.geo/index.html
// Date: 2001
// Borland Builder 4.0
// list all numbers divisible by n from 1 - 100
#include
int main()
{
cout << "This program prints out all numbers 1-100" << endl ;
cout << "divisible by n." << endl ;
cout << "Please enter n." << endl ;
int n ;
cin >> x ;
for ( int x = 1 ; x <= 100 ; ++x )
{
if ( ( x % n ) == 0 )
{
cout << x << endl ;
}
}
return 0 ;
}
               (
geocities.com/neonprimetime.geo/cpp)                   (
geocities.com/neonprimetime.geo)