homework help C++
please help my deadline is in 2 hours and I've been stuck on this homework for 3 days, I just don't get it create a class called account: a bank uses the class account to represent customers bank accounts. your class should include one data member type of type into to represent account balance. your class should provide a constructor that receives an initial balance and uses it to initialize the data member. the constructor should validate the initial balance to ensure that it is greater than or equal to 0. if not, the initial balance should be set to 0 and the constructor should display an error message indicating that the initial balance was invalid. the class should provide three member functions. member function credit should add an amount to the current balance. memeber function debit should withdraw, money from the account and should ensure that the debit amount does not exceed the accounts balance . if it does, the balance should be left unchanged and the function should print a message