Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

how to write a program in c++ a class with the followingmember functions: 1. wit

ID: 3609579 • Letter: H

Question

how to write a program in c++ a class with the followingmember functions: 1. with a member function that determines the ceil of anumber. Examples: 2.5 = 3.0 2.9 = 3.0 2.1 = 3.0 2.0 = 2.0 2. with a member function that determines the floor of amember: Examples: 2.5 = 2.0 2.9 = 2.0 2.1 = 2.0 2.0 = 2.0 3. With a member function that determines a power of a number.Exampe: 2 ^ 2 = 4 3 ^ 2 = 9 10^2 = 100 10^3 = 1000 how to write a program in c++ a class with the followingmember functions: 1. with a member function that determines the ceil of anumber. Examples: 2.5 = 3.0 2.9 = 3.0 2.1 = 3.0 2.0 = 2.0 2. with a member function that determines the floor of amember: Examples: 2.5 = 2.0 2.9 = 2.0 2.1 = 2.0 2.0 = 2.0 3. With a member function that determines a power of a number.Exampe: 2 ^ 2 = 4 3 ^ 2 = 9 10^2 = 100 10^3 = 1000

Explanation / Answer

please rate - thanks #include using namespace std; class Functions {public:     double ceil();     double floor();     double power(int);     void input(); private:       double num; }; int main() {Functions num; int n; num.input(); coutn; cout