- Start time:
- Mi 21 Jun 2017 16:00:34
- End time:
- Fr 30 Jun 2017 18:00:35
- Arrays (6 P)
- Write a program that - reads an int 'n' from the console - makes an array of 'n' ints on the heap - fills it with n values from the console - read an int 'r' from the...
- Binary Search (3 P)
- Implement the function bool binary_search(const int* begin, const int* end, int key) which should use binary search to determine whether a sorted range of integer...
- Pointers to Pointers (4 P)
- Write a program that processes an 'irregular matrix' of values. Read all values from the console and store everything on the free store (heap). Then compute the result using separate functions and...
- Yahtzee (5 P)
- Write a program that - reads the number of pips showing on 5 dices from the standard input - prints the maximum score achievable in the game of Yahtzee ('Kniffel' in German, see score list below)...
- C Strings (6 P)
- Strings in C are "null-terminated" arrays of characters (char). This means that the last element of a C string is a char with value 0 (also represented by '\0') which is used as an end...