15 lines
546 B
C++
15 lines
546 B
C++
#ifndef PROJECT_H
|
|
#define PROJECT_H
|
|
|
|
// NOTE: You cannot change this file. In "only" contains declarations and
|
|
// short descriptions of the functionality we provided to you.
|
|
|
|
// This function returns a randomly chosen integer from the interval [0, max].
|
|
int randomly_choose_a_number(int max);
|
|
|
|
// This function returns a number from the interval [1, max].
|
|
// The number is randomly chosen if we're in interactive mode and parameter
|
|
// choose_randomly is true, and read from the keyboard (std::cin) otherwise.
|
|
int choose_a_number(int max);
|
|
|
|
#endif |