Write a structure specification in C++ for the record given below: Name_school– char (30) No_teachers – int (2) No_Students – int (5) Name of this structure will be SCHOOL
Answers
Answered by
32
The structure specification in C++ for the record given below : Name_school- char ( 30 ) , int ( 2 ) No_ Students......... is provided below :-
# include < iostream.h >
# include < conio.h >
struct record
{
char name_ of_ the_ school [30] ;
int no_ teachers ;
int no_ students ;
}
void main ( )
{
clrscr ( ) ;
struct record a ;
a . name_ of_ the_ school = " SCHOOL " ;
getch ( ) ;
}
Answered by
0
Answer:
thanks for asking this question j reallh wanted the answer too
Similar questions
Computer Science,
7 months ago
English,
7 months ago
Math,
1 year ago
English,
1 year ago
Math,
1 year ago