FUNCTIONS
7 programming challenges to help you master the fundamentals of C++ using OBJECT ORIENTED PROGRAMMING.
1
Write a C++ method to find the smallest number among three numbers.
2
Write a C++ method to compute the average of three numbers.
3
Write a C++ method to display the middle character of a string.
4
Write a C++ method to find all twin prime numbers less than 100.
5
Write a C++ method to count the number of digits in an integer with the value 2. The integer may be assumed to be non-negative.
6
Write a C++ method that accepts three integers and checks whether they are consecutive or not. Returns true or false.
7