#include <iostream>
#include <time.h>
#include <stdlib.h>
#include "/home/theodore/lotto"
using namespace std;
main ()
{
srand(time(0));
int One, Two, Three, Four, Five;
One = rand() % 35 + 1;
Two = rand() % 35 + 1;
Three = rand() % 35 + 1;
Four = rand() % 35 + 1;
Five = rand() % 35 + 1;
while (One == Two || One == Three || One == Four) {
One = rand() % 35 + 1;
}
while (Two == Three | Two == Four) {
Two = rand() % 35 + 1;
}
while (Three == Four) {
Three = rand() % 35 +1;
}
cout << "Here is your Texas Two Step quick pick: " << One << " " << Two << " " << Three << " " << Four ;
cout <<" (" << Five << ") \n";
cout << Lotto ;
}
// Having a hard time, first semester in programming..
//I don't understand for one, the proper command to read from the "Lotto" file
//Which I am trying to read random lines from, and second, the form in which the lines //should be in that are in the Lotto file
//PLEASE HELP...yes, i'm very new to this..