You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
179 B
11 lines
179 B
#include "CreateCustomer.h"
|
|
int generateID()
|
|
{
|
|
const int MIN = 1000000, MAX = 10000000;
|
|
int p_val = rand() % (MAX);
|
|
if(p_val<MIN)
|
|
{
|
|
p_val += MIN;
|
|
}
|
|
return p_val;
|
|
}
|