#include <iostream.h>
#include <iomanip.h>
#include <math.h>
double berechne_schachbrett(double hochzahl) {return(pow(2, hochzahl));};
int main()
{
    //am schachbrett werden die Regeln noch geachtet, einer wird gewinnen werden, einer wird entmachtet!
    double feld[8][8]={0};
    int i=1, j=1, k,l ;
    double hochzahl=0; 
    while(j<=8)
    {
     while(i<=8)
     {
      cout << "\nPosition Reihe " << j << " Feld " << i <<" Anzahl Koerner " << berechne_schachbrett(hochzahl); 
      feld[j][i]=berechne_schachbrett(hochzahl);
      i++;
      hochzahl++;
     }
     i=1;
     j++;
     }
cout << "\nFeldkoordinaten";
cout << "\nX (Nach Rechts)"; cin >> k;
cout << "\nY (Zum Gegener)"; cin >> l;
cout << "Anzahl Koerner " << feld[l][k];
cout << "\nProgrammende...";
cin.get (); cin.get();
return(0);    
    }

/*

*/
