Question: Write structure declaration for a structure named Account that holds the following data about a savings account. Include a constructor that allows data values
Write structure declaration for a structure named Account that holds the following data about a savings account. Include a constructor that allows data values to be passed in for all four members. Account number (string) Account balance (double) Interest rate (double) Average monthly balance (double) Now in your main function write definition statement for an Account variable that initializes the members with the following data and then cout this information to the screen: Account number: ACZ42137 Account balance: $4512.59 Interest rate: 4% Average monthly balance: $4217.07
Step by Step Solution
3.40 Rating (153 Votes )
There are 3 Steps involved in it
Heres how you can define a C structure named Account that holds the specified data and includes a co... View full answer
Get step-by-step solutions from verified subject matter experts
