191k views
2 votes
Write a structure declaration to hold the following data about a savings account: Account Number (string object) Account Balance (double) Interest Rate (double) Average Monthly Balance (double)

1 Answer

4 votes

Answer:

Step-by-step explanation:

The following is written in C and creates a structure declaration named savingsAccount and adds all of the values into it as defined in the question.

struct savingsAccount {

char AccountNumber[] = "";

double AccountBalance;

double InterestRate;

double AverageMonthlyBalance;

}

User HighBandWidth
by
6.3k points