1.

Observe the following layout of data,Last transaction dateAccount no.Name of account holderDayMonthYearBalance Amount1. Name the data type in C++ used to represent the above data format. 2. Write the definition for implementing the above layout.

Answer»

1. Structure 

2. struct Account 

int accno; 

char name[30]; 

struct lastdate 

int day; 

int month;

int year; 

} tdate; 

float 

balanceamt; 

}



Discussion

No Comment Found