Code:
#include <iostream>
#define MAX 6
#define LOT 7
using namespace std;
int main()
{
int number[MAX];
int index,temp;
int winnumbers[LOT];
int match=0;
//gather data and put it in array
for (index=0;index<MAX;index++)
{
cout<<"Please enter the six winning lotto numbers--->
Leave a comment: