TDT4102-Ovinger/Oving5/Oving 5/utilities.cpp

9 lines
141 B
C++

#include "utilities.h"
#include "std_lib_facilities.h"
int randomWithLimits(int min, int max)
{
return rand() % (max - min + 1) + min;;
}