ich glaube das ist gemeint:
in c++:
Code:
#include <iostream>
#include <conio>
using namespace std;
//---------------------------main-function-----------------------------------
int main()
{
randomize();
int Arr1[6],Arr2[6];
for (int j=0;j<6;j++)
{
for (int i=0;i<6;i++)
{
cout << (Arr1[i] = random(44)+1) << " ";
Arr2[j] = Arr1[random(6)];
}
cout << endl;
}
cout << endl << "Lotto 6 aus 45:" << endl << endl;
for (int i=0;i<7;i++) cout << Arr2[i] << " - ";
getch();
return 0;
}
//-------------------------main-function-end---------------------------------