
// file iets.cc
// Dit is een simpel C++-programma, hello world
   
#include <iostream>
using namespace std;

const double pie = 3.14159; // een constante (of cmath) 
int main ( ) {
  double straal;  // straal van de cirkel
  cout << "Geef straal, daarna Enter .. ";
  cin >> straal;
  if ( straal > 0 )
    cout << "Oppervlakte " 
         << pie * straal * straal << endl;
  else
    cout << "Niet zo negatief ..." << endl;
  cout << "Einde van dit programma." << endl;
  return 0;
}//main


