Question: Objects of the BankAccount class require a name ( string ) and a social security number ( string ) be specified ( in that order
Objects of the BankAccount class require a name string and a social security number string be specified in that order upon creation.
Declare two strings corresponding to a name and a social security number and read values into them from standard input in that order using cin
Use these values to declare an object of type BankAccount named newAccount.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
