QUESTION 2: Helper (or utility) classes are classes that contain only static data members and static member functions. Y
Posted: Sat Nov 27, 2021 2:41 pm
QUESTION 2: Helper (or utility) classes are classes that contain only static data members and static member functions. Your task in Question 2 is to design and implement a Math helper class that contains the following: A static constant variable that holds the value of PI. A static function that computes the area of a circle, given its radius. A static function that computes the SumOfNumbers, that calculate the sum of all positive numbers less than or equal to a given number. A static function that computes the absolute value fabs of a double A static function that rounds a double to the nearest integer. Princess Sumaya University for Technology King Hussein School for Information Technology Computer Science Department Object Oriented Programming Lab CS11253-Fall 2021/2022 Lab Assignment #6 Instructor: Raghda Hricz Lab TA: Ms. Ayat Implement also a simple driver program that prints the value of Pl and invokes the four static functions on some dummy numbers.