Handed in Project 1
This commit is contained in:
15
Projekt_1/Task_1/guess_a_number.h
Normal file
15
Projekt_1/Task_1/guess_a_number.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#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
|
Reference in New Issue
Block a user