#include <iostream>
using namespace std;
int main(int argc)
{
cout << 1 + rand() % 80<< endl;
cin.get();
return 0;
}
#include<random>
#include<iostream>
#include<ctime>
int main()
{
std::default_random_engine dre(std::time(nullptr));
std::uniform_int_distribution<int> di(1, 80);
std::cout << di(dre) << std::endl;
std::cin.get();
}
<cstdlib> и <ctime>